Prechecker results: warning


Overview

(0 errors, 0 warnings)

This section shows the general problems detected when processing the code [More info]


PHP lint problems

(0 errors, 0 warnings)

This section shows php lint problems in the code detected by php -l [More info]


PHP coding style problems

(0 errors, 41 warnings)

This section shows the coding style problems detected in the code by phpcs [More info]

public/local/behavioranalytics/classes/event/mitigation_executed.php
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
public/local/behavioranalytics/classes/local/action/registry.php
(#149) This comment is 67% valid code; is this commented out code?
public/local/behavioranalytics/classes/local/detector/failed_logins.php
(#70) Inline comments must end in full-stops, exclamation marks, or question marks
(#82) Inline comments must end in full-stops, exclamation marks, or question marks
(#89) Inline comments must end in full-stops, exclamation marks, or question marks
(#106) Inline comments must end in full-stops, exclamation marks, or question marks
(#124) Inline comments must end in full-stops, exclamation marks, or question marks
public/local/behavioranalytics/classes/task/scan_anomalies.php
(#62) Inline comments must end in full-stops, exclamation marks, or question marks
(#69) Inline comments must end in full-stops, exclamation marks, or question marks
public/local/behavioranalytics/db/upgrade.php
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
public/local/behavioranalytics/details.php
(#89) Inline comments must end in full-stops, exclamation marks, or question marks
public/local/behavioranalytics/index.php
(#42) Inline comments must end in full-stops, exclamation marks, or question marks
(#49) Inline comments must end in full-stops, exclamation marks, or question marks
(#63) Inline comments must end in full-stops, exclamation marks, or question marks
public/local/behavioranalytics/settings.php
(#48) Inline comments must end in full-stops, exclamation marks, or question marks
(#64) Inline comments must end in full-stops, exclamation marks, or question marks
(#85) Inline comments must end in full-stops, exclamation marks, or question marks
(#110) Inline comments must end in full-stops, exclamation marks, or question marks
public/local/behavioranalytics/tests/activity_burst_detector_test.php
(#28) PHPUnit class "local_behavioranalytics\tests\activity_burst_detector_test", with namespace "local_behavioranalytics\tests", currently located at "tests/" directory, does not match its expected location at "tests/tests"
(#76) Inline comments must start with a capital letter, digit or 3-dots sequence
(#77) Inline comments must start with a capital letter, digit or 3-dots sequence
public/local/behavioranalytics/tests/failed_logins_detector_test.php
(#27) PHPUnit class "local_behavioranalytics\tests\failed_logins_detector_test", with namespace "local_behavioranalytics\tests", currently located at "tests/" directory, does not match its expected location at "tests/tests"
(#89) Test method test_no_failures_returns_empty() is missing any coverage information, own or at class level
(#101) Test method test_below_threshold_no_alert() is missing any coverage information, own or at class level
(#123) Test method test_exceeding_threshold_triggers_alert() is missing any coverage information, own or at class level
(#147) Test method test_successful_login_resets_failures() is missing any coverage information, own or at class level
(#174) Test method test_guest_and_webservice_users_skipped() is missing any coverage information, own or at class level
public/local/behavioranalytics/tests/get_user_risk_test.php
(#28) PHPUnit class "local_behavioranalytics\tests\get_user_risk_test", with namespace "local_behavioranalytics\tests", currently located at "tests/" directory, does not match its expected location at "tests/tests"
(#102) Inline comments must start with a capital letter, digit or 3-dots sequence
(#123) Inline comments must start with a capital letter, digit or 3-dots sequence
public/local/behavioranalytics/tests/inform_admin_test.php
(#28) PHPUnit class "local_behavioranalytics\tests\inform_admin_test", with namespace "local_behavioranalytics\tests", currently located at "tests/" directory, does not match its expected location at "tests/tests"
public/local/behavioranalytics/tests/kill_sessions_test.php
(#28) PHPUnit class "local_behavioranalytics\tests\kill_sessions_test", with namespace "local_behavioranalytics\tests", currently located at "tests/" directory, does not match its expected location at "tests/tests"
public/local/behavioranalytics/tests/login_time_detector_test.php
(#28) PHPUnit class "local_behavioranalytics\tests\login_time_detector_test", with namespace "local_behavioranalytics\tests", currently located at "tests/" directory, does not match its expected location at "tests/tests"
(#76) Inline comments must start with a capital letter, digit or 3-dots sequence
public/local/behavioranalytics/tests/persistence_test.php
(#28) PHPUnit class "local_behavioranalytics\tests\persistence_test", with namespace "local_behavioranalytics\tests", currently located at "tests/" directory, does not match its expected location at "tests/tests"
public/local/behavioranalytics/tests/privacy_provider_test.php
(#28) PHPUnit class "local_behavioranalytics\tests\privacy_provider_test", with namespace "local_behavioranalytics\tests", currently located at "tests/" directory, does not match its expected location at "tests/tests"
public/local/behavioranalytics/tests/registry_actions_test.php
(#28) PHPUnit class "local_behavioranalytics\tests\registry_actions_test", with namespace "local_behavioranalytics\tests", currently located at "tests/" directory, does not match its expected location at "tests/tests"
public/local/behavioranalytics/tests/registry_detectors_test.php
(#28) PHPUnit class "local_behavioranalytics\tests\registry_detectors_test", with namespace "local_behavioranalytics\tests", currently located at "tests/" directory, does not match its expected location at "tests/tests"
public/local/behavioranalytics/tests/scorer_weighting_test.php
(#28) PHPUnit class "local_behavioranalytics\tests\scorer_weighting_test", with namespace "local_behavioranalytics\tests", currently located at "tests/" directory, does not match its expected location at "tests/tests"
public/local/behavioranalytics/tests/suspend_user_test.php
(#28) PHPUnit class "local_behavioranalytics\tests\suspend_user_test", with namespace "local_behavioranalytics\tests", currently located at "tests/" directory, does not match its expected location at "tests/tests"
public/local/behavioranalytics/tests/task_scan_anomalies_test.php
(#32) PHPUnit class "local_behavioranalytics\tests\task_scan_anomalies_test", with namespace "local_behavioranalytics\tests", currently located at "tests/" directory, does not match its expected location at "tests/tests"

Javascript coding style problems

(0 errors, 0 warnings)

This section shows the coding style problems detected in the code by eslint [More info]


CSS problems

(0 errors, 0 warnings)

This section shows CSS problems detected by stylelint [More info]


PHPDocs style problems

(0 errors, 0 warnings)

This section shows the phpdocs problems detected in the code by local_moodlecheck [More info]


Update savepoints problems

(0 errors, 0 warnings)

This section shows problems detected with the handling of upgrade savepoints [More info]


Third party library modification problems

(0 errors, 0 warnings)

This section shows problems detected with the modification of third party libraries [More info]


grunt changes

(0 errors, 0 warnings)

This section shows files built by grunt and not commited [More info]


shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 0 warnings)

This section shows problems detected in mustache templates [More info]


Gherkin .feature problems

(0 errors, 0 warnings)

This section shows problems detected in behat .feature files [More info]