Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
- Install procedure had errors
- > Notice in wp-content/plugins/file-changes-monitor/classes/wpfmp.class.php+82
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.26MB] [CPU: ▼4.35ms] Passed 4 tests
An overview of server-side resources used by WordPress File Monitor
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.75 ▲0.28 | 43.40 ▲5.59 |
Dashboard /wp-admin | 3.57 ▲0.23 | 47.94 ▼8.98 |
Posts /wp-admin/edit.php | 3.69 ▲0.33 | 47.94 ▼1.38 |
Add New Post /wp-admin/post-new.php | 6.15 ▲0.27 | 81.12 ▼11.75 |
Media Library /wp-admin/upload.php | 3.50 ▲0.27 | 39.31 ▲4.72 |
WordPress File Monitor /wp-admin/options-general.php?page=wordpress-file-monitor | 3.44 | 31.77 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 19 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
wfm3_settings |
db_upgraded |
wfm3_settings_ver |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by WordPress File Monitor
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲61 | 13.41 ▼0.97 | 4.33 ▲2.75 | 42.44 ▲4.45 |
Dashboard /wp-admin | 2,213 ▲21 | 4.87 ▼0.06 | 108.48 ▼2.54 | 38.36 ▼0.06 |
Posts /wp-admin/edit.php | 2,099 ▲10 | 2.00 ▼0.03 | 36.32 ▼1.18 | 33.55 ▼0.45 |
Add New Post /wp-admin/post-new.php | 1,539 ▲25 | 23.45 ▲5.95 | 664.33 ▲7.21 | 55.52 ▲7.38 |
Media Library /wp-admin/upload.php | 1,389 ▲1 | 4.24 ▲0.02 | 96.79 ▲0.70 | 42.57 ▲0.71 |
WordPress File Monitor /wp-admin/options-general.php?page=wordpress-file-monitor | 1,142 | 2.04 | 36.29 | 41.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/file-changes-monitor/file-changes-monitor.php+17
Constant WFM3_I18N already defined
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=wordpress-file-monitor
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=wordpress-file-monitor
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=wordpress-file-monitor
- > Deprecated in wp-content/plugins/file-changes-monitor/classes/wpfmp.settings.class.php+583
implode(): Passing glue string after array is deprecated. Swap the parameters
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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
6 plugin tags: security, files, secure, plugin, file...
file-changes-monitor/file-changes-monitor.php 92% from 13 tests
"WordPress File Monitor" version 1.0.9's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 143 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin1,909 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 298 | 301 | 1,029 |
PO File | 4 | 311 | 438 | 724 |
JavaScript | 2 | 13 | 6 | 156 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 95.50 |
▷ Minimum class complexity | 62.00 |
▷ Maximum class complexity | 129.00 |
Average method complexity | 4.63 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 59.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 52 | |
▷ Static methods | 52 | 100.00% |
▷ Public methods | 46 | 88.46% |
▷ Protected methods | 5 | 9.62% |
▷ Private methods | 1 | 1.92% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 19 | |
▷ Global constants | 19 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected