Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼11.04ms] Passed 4 tests
This is a short check of server-side resources used by Excessive Plugins Cop
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 47.69 ▲8.63 |
Dashboard /wp-admin | 3.34 ▲0.00 | 47.33 ▼13.48 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 43.87 ▼4.46 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 80.55 ▼23.01 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 33.19 ▼3.19 |
Excessive Plugins Cop /wp-admin/options-general.php?page=epcop_settings | 3.23 | 30.68 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Excessive Plugins Cop
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲36 | 14.17 ▼0.11 | 2.36 ▲0.39 | 49.47 ▲9.44 |
Dashboard /wp-admin | 2,203 ▲23 | 5.62 ▲0.06 | 94.63 ▲11.30 | 40.83 ▲0.14 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 2.03 ▲0.03 | 33.56 ▼4.48 | 31.93 ▼1.40 |
Add New Post /wp-admin/post-new.php | 1,533 ▲4 | 23.04 ▼0.17 | 655.64 ▼0.08 | 64.18 ▲14.32 |
Media Library /wp-admin/upload.php | 1,411 ▲8 | 4.28 ▲0.09 | 93.16 ▼3.14 | 44.74 ▲1.25 |
Excessive Plugins Cop /wp-admin/options-general.php?page=epcop_settings | 888 | 2.00 | 22.28 | 27.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- 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 shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Please fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/excessive-plugins-cop/excessive-plugins-cop.php:17
- > PHP Fatal error
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)
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: warning, notifier, excessive, plugins
excessive-plugins-cop/excessive-plugins-cop.php Passed 13 tests
The principal PHP file in "Excessive Plugins Cop" v. 1.4.0 is loaded by WordPress automatically on each request
93 characters long description:
Limit how many plugins can be activated, and get notified by email when the limit is reached.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin217 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 39 | 20 | 217 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected