Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▼0.68MB] [CPU: ▼33.94ms] Passed 4 tests
Analyzing server-side resources used by Plugin Manager
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 44.05 ▲0.94 |
Dashboard /wp-admin | 3.26 ▼0.04 | 34.08 ▼25.75 |
Posts /wp-admin/edit.php | 3.26 ▼0.09 | 31.95 ▼19.11 |
Add New Post /wp-admin/post-new.php | 3.26 ▼2.62 | 28.72 ▼80.43 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 29.23 ▼10.46 |
Server storage [IO: ▲0.33MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 34 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
Checking browser requirements for Plugin Manager
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲46 | 14.67 ▲0.32 | 1.71 ▼0.01 | 44.05 ▲0.89 |
Dashboard /wp-admin | 2,216 ▲36 | 5.55 ▼0.15 | 88.07 ▼1.93 | 43.65 ▼0.35 |
Posts /wp-admin/edit.php | 2,124 ▲27 | 1.98 ▼0.05 | 39.28 ▲5.35 | 43.27 ▲5.13 |
Add New Post /wp-admin/post-new.php | 1,449 ▼77 | 17.10 ▼6.50 | 571.57 ▼164.02 | 54.53 ▲0.03 |
Media Library /wp-admin/upload.php | 1,421 ▲24 | 4.20 ▲0.03 | 97.36 ▼21.04 | 42.46 ▼10.00 |
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
Please fix the following items
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/plugin-grouper/classes/class-all-plugins.php+74
Function create_function() is deprecated
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Everything seems fine, however this is by no means an exhaustive test
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 96% from 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
4 plugin tags: category manage, plugin, admin, group
plugin-grouper/plugin-grouper.php 92% from 13 tests
"Plugin Manager" version 6.0.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected12,771 lines of code in 35 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 8,961 |
PHP | 13 | 381 | 706 | 1,393 |
JavaScript | 12 | 308 | 747 | 1,349 |
CSS | 2 | 27 | 206 | 587 |
LESS | 5 | 105 | 153 | 471 |
Markdown | 1 | 4 | 0 | 10 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 51.00 |
Average method complexity | 2.39 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 9 | |
▷ Abstract classes | 1 | 11.11% |
▷ Concrete classes | 8 | 88.89% |
▷ Final classes | 0 | 0.00% |
Methods | 79 | |
▷ Static methods | 36 | 45.57% |
▷ Public methods | 51 | 64.56% |
▷ Protected methods | 2 | 2.53% |
▷ Private methods | 26 | 32.91% |
Functions | 3 | |
▷ Named functions | 1 | 33.33% |
▷ Anonymous functions | 2 | 66.67% |
Constants | 12 | |
▷ Global constants | 7 | 58.33% |
▷ Class constants | 5 | 41.67% |
▷ Public constants | 5 | 100.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