Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼5.71ms] Passed 4 tests
An overview of server-side resources used by WPCore Plugin Manager
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.65 ▼2.26 |
Dashboard /wp-admin | 3.42 ▲0.12 | 51.46 ▼3.94 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 56.28 ▲1.68 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 87.30 ▼18.30 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 41.21 ▲3.56 |
Server storage [IO: ▲0.84MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 56 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
wpcore_keys |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
WPCore Plugin Manager: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,811 ▲65 | 13.33 ▼0.97 | 4.57 ▲2.71 | 44.31 ▼1.02 |
Dashboard /wp-admin | 2,214 ▲29 | 5.98 ▲0.10 | 97.96 ▼8.84 | 80.84 ▲38.15 |
Posts /wp-admin/edit.php | 2,103 ▲14 | 2.03 ▼0.01 | 43.28 ▲6.29 | 38.63 ▲1.34 |
Add New Post /wp-admin/post-new.php | 1,538 ▲19 | 23.19 ▼0.21 | 696.37 ▲26.33 | 53.98 ▼9.60 |
Media Library /wp-admin/upload.php | 1,396 ▲8 | 4.17 ▲0.02 | 102.15 ▼16.07 | 70.99 ▲20.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wpcore/lib/TGM-Plugin-Activation-2.6.1/example.php:36
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/wpcore/views/settings.php:6
- > PHP Fatal error
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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
wpcore/wpcore.php Passed 13 tests
This is the main PHP file of "WPCore Plugin Manager" version 1.9.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
82 characters long description:
Keep all your favorite plugins in one place and install them instantly on any site
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected8,112 lines of code in 33 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 17 | 1,449 | 1,993 | 4,842 |
PHP | 8 | 626 | 2,005 | 2,382 |
Markdown | 5 | 186 | 0 | 780 |
CSS | 2 | 14 | 25 | 90 |
JavaScript | 1 | 8 | 5 | 18 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 42.44 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 207.00 |
Average method complexity | 4.01 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 124 | |
▷ Static methods | 11 | 8.87% |
▷ Public methods | 98 | 79.03% |
▷ Protected methods | 23 | 18.55% |
▷ Private methods | 3 | 2.42% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 4 | 100.00% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.10MB with 0.06MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/key.png | 107.07KB | 38.01KB | ▼ 64.50% |
assets/img/icon.png | 0.42KB | 0.24KB | ▼ 43.29% |