Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼7.97ms] Passed 4 tests
A check of server-side resources used by Master Kit
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 37.84 ▼6.13 |
Dashboard /wp-admin | 3.48 ▲0.14 | 53.48 ▼8.70 |
Posts /wp-admin/edit.php | 3.55 ▲0.20 | 54.04 ▲1.25 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 94.70 ▼18.31 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 43.66 ▲5.10 |
Server storage [IO: ▲4.04MB] [DB: ▲0.00MB] 67% from 3 tests
Input-output and database impact of this plugin
Just a few items left to fix
- Illegal file modification detected: 1 file (4.00KB) outside of "wp-content/plugins/master-kit/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 84 new files
Database: no new tables, 12 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_mkps_widget |
widget_theysaidso_widget |
widget_mkp_widget |
widget_mkcs_widget |
widget_mkc_widget |
widget_mks_widget |
widget_mka_widget |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Master Kit
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,994 ▲248 | 15.14 ▲0.84 | 1.83 ▲0.03 | 40.87 ▼1.10 |
Dashboard /wp-admin | 2,378 ▲172 | 6.63 ▲1.77 | 135.11 ▲28.78 | 42.78 ▲1.90 |
Posts /wp-admin/edit.php | 2,274 ▲174 | 3.54 ▲1.52 | 54.62 ▲18.62 | 34.74 ▲0.19 |
Add New Post /wp-admin/post-new.php | 1,539 ▲13 | 23.37 ▲5.83 | 630.11 ▼54.32 | 35.19 ▼26.70 |
Media Library /wp-admin/upload.php | 1,414 ▲17 | 4.33 ▲0.13 | 95.35 ▼25.26 | 48.48 ▲0.70 |
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
- Zombie WordPress options detected upon uninstall: 12 options
- widget_mkps_widget
- can_compress_scripts
- widget_mkc_widget
- widget_theysaidso_widget
- db_upgraded
- widget_mks_widget
- widget_mkcs_widget
- widget_mkp_widget
- theysaidso_admin_options
- widget_recent-posts
- ...
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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
Congratulations! This plugin passed the SRP test
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
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:
- Screenshots: Screenshot #1 (Frontend View) image missing
master-kit/master-kit.php Passed 13 tests
The entry point to "Master Kit" version 1.0.2 is a PHP file that has certain tags in its header comment area
38 characters long description:
A helper plugin for masterpiece theme.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin24,187 lines of code in 66 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
XML | 2 | 152 | 292 | 12,072 |
SVG | 1 | 0 | 0 | 2,671 |
CSS | 8 | 18 | 70 | 2,557 |
JavaScript | 2 | 490 | 961 | 2,004 |
Sass | 14 | 34 | 34 | 1,768 |
LESS | 14 | 34 | 44 | 1,758 |
PHP | 24 | 280 | 80 | 1,277 |
Markdown | 1 | 42 | 0 | 80 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 9.14 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 2.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 28 | 96.55% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 3.45% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.23MB with 0.17MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
(invalid) inc/masterpiece-demo-data/demo-one/preview.png | 235.23KB | 0.00KB | ▼ 100.00% |
vendor/owl-carousel-2.3.4/assets/owl.video.play.png | 4.86KB | 2.74KB | ▼ 43.61% |