Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼2.45ms] Passed 4 tests
Analyzing server-side resources used by Skil Toolbox
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 40.73 ▼2.05 |
Dashboard /wp-admin | 3.36 ▲0.06 | 51.62 ▼2.76 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 51.70 ▼1.56 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 95.57 ▼2.90 |
Media Library /wp-admin/upload.php | 3.28 ▲0.06 | 35.70 ▼2.09 |
Add New /wp-admin/post-new.php?post_type=stb_team_post_type | 3.34 | 48.18 |
All Teams /wp-admin/edit.php?post_type=stb_team_post_type | 3.33 | 37.53 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] 67% from 3 tests
Filesystem and database footprint
Just a few items left to fix
- The plugin illegally modified 1 file (4.00KB) outside of "wp-content/plugins/skil-toolbox/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Skil Toolbox
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,848 ▲102 | 13.54 ▼0.83 | 1.74 ▼0.01 | 46.25 ▲0.33 |
Dashboard /wp-admin | 2,254 ▲51 | 4.91 ▼0.06 | 103.22 ▼10.79 | 38.97 ▼9.45 |
Posts /wp-admin/edit.php | 2,130 ▲27 | 2.02 ▼0.02 | 42.57 ▲1.03 | 37.06 ▲0.50 |
Add New Post /wp-admin/post-new.php | 1,552 ▲26 | 17.60 ▼0.06 | 634.55 ▼5.97 | 52.94 ▼2.34 |
Media Library /wp-admin/upload.php | 1,430 ▲30 | 4.19 ▼0.05 | 101.54 ▲1.35 | 42.98 ▼0.84 |
Add New /wp-admin/post-new.php?post_type=stb_team_post_type | 1,602 | 3.73 | 62.83 | 29.19 |
All Teams /wp-admin/edit.php?post_type=stb_team_post_type | 1,076 | 1.96 | 35.41 | 30.65 |
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
These items require your attention
- The uninstall procedure has failed, 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 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× 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/skil-toolbox/inc/post-type-team.php:65
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Plugin Name: You should set the name of your plugin on the first line (
=== skil-toolbox ===
)
skil-toolbox/skil-toolbox.php Passed 13 tests
The primary PHP file in "Skil Toolbox" version 1.0.0 is used by WordPress to initiate all plugin functionality
54 characters long description:
Register custom post type and include MailChimp Class.
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 plugin214 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 30 | 81 | 146 |
PO File | 1 | 25 | 26 | 68 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 9 | |
▷ Static methods | 1 | 11.11% |
▷ Public methods | 8 | 88.89% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 11.11% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin