Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼7.46ms] Passed 4 tests
An overview of server-side resources used by Changed Files app for Watchful
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.89 ▼4.06 |
Dashboard /wp-admin | 3.33 ▲0.03 | 47.91 ▼3.54 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 50.70 ▼1.25 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 83.50 ▼20.99 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 37.56 ▼0.27 |
Watchful App: Changed Files /wp-admin/options-general.php?page=watchful-app-changed-files-settings | 3.22 | 27.86 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
watchful_app_settings_changed_files |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Changed Files app for Watchful: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 14.44 ▲0.19 | 1.56 ▼0.51 | 38.63 ▼7.41 |
Dashboard /wp-admin | 2,210 ▲22 | 5.85 ▼0.02 | 111.53 ▼6.11 | 41.85 ▼1.73 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 1.96 ▼0.04 | 39.82 ▲0.19 | 36.65 ▲4.77 |
Add New Post /wp-admin/post-new.php | 1,537 ▼5 | 23.00 ▲4.68 | 587.95 ▼27.05 | 59.61 ▲9.84 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.32 ▲0.11 | 99.09 ▼7.99 | 42.68 ▼1.42 |
Watchful App: Changed Files /wp-admin/options-general.php?page=watchful-app-changed-files-settings | 875 | 2.06 | 25.17 | 32.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
2 plugin tags: file monitoring, site monitoring
watchful-app-changed-files/watchful-app-changed-files.php Passed 13 tests
"Changed Files app for Watchful" version 1.0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
70 characters long description:
An app for Watchful.net to monitor a custom list of files for changes.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected312 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 86 | 11 | 312 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 23 | |
▷ Static methods | 3 | 13.04% |
▷ Public methods | 22 | 95.65% |
▷ Protected methods | 1 | 4.35% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin