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 gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.02ms] Passed 4 tests
Analyzing server-side resources used by Debug Bar Plugin Activation
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.07 ▲0.54 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.44 ▼2.40 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 50.20 ▲1.68 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 85.52 ▼8.80 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.92 ▼1.42 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Debug Bar Plugin Activation
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.23 ▼1.14 | 1.69 ▼0.11 | 43.45 ▲1.18 |
Dashboard /wp-admin | 2,206 ▲15 | 5.78 ▲0.91 | 94.27 ▼5.20 | 38.81 ▼7.97 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▼0.05 | 38.88 ▼0.85 | 35.66 ▼1.24 |
Add New Post /wp-admin/post-new.php | 1,542 ▲4 | 18.29 ▲0.14 | 597.60 ▼23.33 | 57.26 ▼4.90 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.21 ▼0.09 | 93.60 ▼8.73 | 42.46 ▼1.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
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 items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/debug-bar-plugin-activation/uninstall.php:9
- > 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)
Everything seems fine on the user side
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
7 plugin tags: debug bar, plugin activation, debugbar, plugin deactivation, unexpected output...
debug-bar-plugin-activation/debug-bar-plugin-activation.php Passed 13 tests
The entry point to "Debug Bar Plugin Activation" version 1.0 is a PHP file that has certain tags in its header comment area
107 characters long description:
Debug Bar Plugin Activation adds a new panel to the Debug Bar which displays plugin (de-)activation errors.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin517 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 128 | 318 | 328 |
CSS | 2 | 13 | 2 | 130 |
JavaScript | 2 | 22 | 15 | 59 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 2.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.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 | 24 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 66.67% |
▷ Protected methods | 8 | 33.33% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 1 | 20.00% |
▷ Class constants | 4 | 80.00% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin