Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▼8.59ms] Passed 4 tests
Server-side resources used by Remote Website Management Plugin by Watchful
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 47.35 ▲9.25 |
Dashboard /wp-admin | 3.47 ▲0.12 | 52.47 ▼12.33 |
Posts /wp-admin/edit.php | 3.59 ▲0.23 | 49.03 ▼5.90 |
Add New Post /wp-admin/post-new.php | 6.34 ▲0.45 | 86.60 ▼17.71 |
Media Library /wp-admin/upload.php | 3.40 ▲0.16 | 37.40 ▲1.57 |
Watchful /wp-admin/options-general.php?page=watchful-setting | 3.40 | 33.80 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 71 new files
Database: no new tables, 7 new options
New WordPress options |
---|
watchfulSettings |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Remote Website Management Plugin by Watchful
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.17 ▼0.07 | 1.70 ▼0.09 | 44.83 ▲1.17 |
Dashboard /wp-admin | 2,202 ▲25 | 5.59 ▼0.05 | 87.33 ▼12.97 | 41.51 ▼10.55 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.97 ▼0.03 | 33.67 ▼1.73 | 32.86 ▼2.58 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.22 ▲0.27 | 649.14 ▼36.72 | 52.82 ▲2.27 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.16 ▼0.05 | 92.05 ▼20.71 | 40.37 ▼6.60 |
Watchful /wp-admin/options-general.php?page=watchful-setting | 874 | 2.00 | 23.73 | 37.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 26× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Watchful\\Audit\\Audit' not found in wp-content/plugins/watchful/lib/Audit/Tests/HasWPHtaccess.php:20
- > PHP Fatal error
Uncaught Error: Class 'Watchful\\Audit\\Audit' not found in wp-content/plugins/watchful/lib/Audit/Tests/HasWPAdminUser.php:20
- > PHP Fatal error
Uncaught Error: Interface 'Watchful\\Helpers\\BackupPlugins\\BackupPluginInterface' not found in wp-content/plugins/watchful/lib/Helpers/BackupPlugins/Ai1wmBackupPlugin.php:9
- > PHP Fatal error
Uncaught Error: Interface 'Watchful\\Controller\\BaseControllerInterface' not found in wp-content/plugins/watchful/lib/Controller/Validation.php:13
- > PHP Fatal error
Uncaught Error: Interface 'Watchful\\Helpers\\BackupPlugins\\BackupPluginInterface' not found in wp-content/plugins/watchful/lib/Helpers/BackupPlugins/AkeebaBackupPlugin.php:11
- > PHP Fatal error
Uncaught Error: Class 'Watchful\\Audit\\Audit' not found in wp-content/plugins/watchful/lib/Audit/Tests/IsUploadBrowsable.php:20
- > PHP Fatal error
Uncaught Error: Class 'Watchful\\Audit\\Audit' not found in wp-content/plugins/watchful/lib/Audit/Tests/HasConfigChmod.php:20
- > PHP Fatal error
Uncaught Error: Class 'Watchful\\Audit\\Audit' not found in wp-content/plugins/watchful/lib/Audit/Tests/HasDeactivatedPlugins.php:20
- > PHP Fatal error
Uncaught Error: Class 'Watchful\\Audit\\Audit' not found in wp-content/plugins/watchful/lib/Audit/Tests/HasDBPrefix.php:20
- > PHP Fatal error
Uncaught Error: Class 'Theme_Installer_Skin' not found in wp-content/plugins/watchful/lib/Skins/SkinThemeUpgrader.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
9 plugin tags: manage multiple sites, watchful, wordpress dashboard, wordpress manager, backup...
watchful/watchful.php Passed 13 tests
The entry point to "Remote Website Management Plugin by Watchful" version 1.7.0 is a PHP file that has certain tags in its header comment area
44 characters long description:
Remote Website Management Plugin by Watchful
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin4,314 lines of code in 67 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 67 | 1,074 | 2,264 | 4,314 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 9.21 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 60.00 |
Average method complexity | 3.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 10 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 60 | |
▷ Abstract classes | 1 | 1.67% |
▷ Concrete classes | 59 | 98.33% |
▷ Final classes | 0 | 0.00% |
Methods | 260 | |
▷ Static methods | 34 | 13.08% |
▷ Public methods | 188 | 72.31% |
▷ Protected methods | 10 | 3.85% |
▷ Private methods | 62 | 23.85% |
Functions | 9 | |
▷ Named functions | 1 | 11.11% |
▷ Anonymous functions | 8 | 88.89% |
Constants | 13 | |
▷ Global constants | 5 | 38.46% |
▷ Class constants | 8 | 61.54% |
▷ Public constants | 8 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin