Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼5.12ms] Passed 4 tests
A check of server-side resources used by Plugin Columns
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 35.24 ▼9.21 |
Dashboard /wp-admin | 3.31 ▼0.03 | 44.42 ▼9.11 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 46.03 ▼0.11 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 92.68 ▼2.06 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 33.73 ▲2.11 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Plugin Columns
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.25 ▼0.31 | 1.86 ▲0.14 | 41.34 ▼3.92 |
Dashboard /wp-admin | 2,195 ▲18 | 5.61 ▲0.03 | 91.51 ▼8.21 | 43.65 ▲5.91 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 2.02 ▲0.00 | 40.41 ▲3.11 | 36.26 ▲2.99 |
Add New Post /wp-admin/post-new.php | 1,528 ▼1 | 23.26 ▲0.07 | 653.20 ▲8.22 | 56.44 ▲5.84 |
Media Library /wp-admin/upload.php | 1,400 ▲6 | 4.21 ▼0.02 | 108.40 ▲9.35 | 47.63 ▲4.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests Passed 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)
Everything seems fine, however this is by no means an exhaustive test
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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
plugin-columns/plugin-columns.php Passed 13 tests
The entry point to "Plugin Columns" version 1.2.2 is a PHP file that has certain tags in its header comment area
37 characters long description:
Various columns for the plugins list.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin2,919 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 262 | 250 | 1,934 |
JavaScript | 1 | 79 | 3 | 616 |
CSS | 1 | 74 | 0 | 369 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.66 |
Average class complexity | 530.00 |
▷ Minimum class complexity | 530.00 |
▷ Maximum class complexity | 530.00 |
Average method complexity | 8.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 61.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 1 | 100.00% |
Methods | 63 | |
▷ Static methods | 1 | 1.59% |
▷ Public methods | 41 | 65.08% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 22 | 34.92% |
Functions | 7 | |
▷ Named functions | 3 | 42.86% |
▷ Anonymous functions | 4 | 57.14% |
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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin