Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.24MB] [CPU: ▼13.79ms] Passed 4 tests
An overview of server-side resources used by Million Shades Toolkit
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.72 ▲0.26 | 40.95 ▼3.85 |
Dashboard /wp-admin | 3.56 ▲0.21 | 47.54 ▼18.44 |
Posts /wp-admin/edit.php | 3.67 ▲0.32 | 50.85 ▼4.20 |
Add New Post /wp-admin/post-new.php | 6.14 ▲0.25 | 89.58 ▼28.68 |
Media Library /wp-admin/upload.php | 3.48 ▲0.25 | 37.45 ▼1.63 |
Add New /wp-admin/post-new.php?post_type=portfolios | 3.63 | 55.83 |
Add New /wp-admin/post-new.php?post_type=staffs | 3.62 | 64.50 |
Portfolio Categories /wp-admin/edit-tags.php?taxonomy=portfolio-category&post_type=portfolios | 3.48 | 41.24 |
Add New /wp-admin/post-new.php?post_type=testimonials | 3.63 | 55.92 |
Staff Categories /wp-admin/edit-tags.php?taxonomy=staff-category&post_type=staffs | 3.48 | 40.51 |
Clients /wp-admin/edit.php?post_type=clients | 3.52 | 39.68 |
Staffs /wp-admin/edit.php?post_type=staffs | 3.52 | 38.03 |
Client Categories /wp-admin/edit-tags.php?taxonomy=client-category&post_type=clients | 3.48 | 35.27 |
Testimonials /wp-admin/edit.php?post_type=testimonials | 3.52 | 39.36 |
Add New /wp-admin/post-new.php?post_type=clients | 3.63 | 55.53 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Million Shades Toolkit
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,932 ▲171 | 14.36 ▲0.08 | 1.52 ▼0.42 | 37.76 ▼4.31 |
Dashboard /wp-admin | 2,317 ▲136 | 5.67 ▲0.00 | 101.19 ▼1.52 | 45.86 ▲1.07 |
Posts /wp-admin/edit.php | 2,234 ▲131 | 2.04 ▲0.05 | 40.86 ▲3.48 | 40.36 ▲6.55 |
Add New Post /wp-admin/post-new.php | 1,646 ▲120 | 18.49 ▼5.07 | 624.90 ▼60.38 | 67.77 ▲3.41 |
Media Library /wp-admin/upload.php | 1,534 ▲134 | 4.20 ▲0.03 | 102.40 ▼18.91 | 46.24 ▼2.38 |
Add New /wp-admin/post-new.php?post_type=portfolios | 2,769 | 7.66 | 196.03 | 76.26 |
Add New /wp-admin/post-new.php?post_type=staffs | 3,479 | 7.76 | 177.64 | 63.76 |
Portfolio Categories /wp-admin/edit-tags.php?taxonomy=portfolio-category&post_type=portfolios | 1,402 | 2.28 | 29.59 | 34.13 |
Add New /wp-admin/post-new.php?post_type=testimonials | 2,786 | 7.75 | 191.01 | 76.26 |
Staff Categories /wp-admin/edit-tags.php?taxonomy=staff-category&post_type=staffs | 1,405 | 2.29 | 30.19 | 32.74 |
Clients /wp-admin/edit.php?post_type=clients | 1,228 | 1.99 | 37.93 | 32.50 |
Staffs /wp-admin/edit.php?post_type=staffs | 1,246 | 1.92 | 33.86 | 30.93 |
Client Categories /wp-admin/edit-tags.php?taxonomy=client-category&post_type=clients | 1,402 | 2.28 | 28.70 | 32.04 |
Testimonials /wp-admin/edit.php?post_type=testimonials | 1,249 | 1.93 | 34.64 | 29.52 |
Add New /wp-admin/post-new.php?post_type=clients | 2,779 | 7.71 | 168.78 | 66.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
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
3 plugin tags: million shades, toolkit, custom post types
million-shades-toolkit/ms-toolkit.php 92% from 13 tests
The primary PHP file in "Million Shades Toolkit" version 1.0.9 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("million-shades-toolkit.php" instead of "ms-toolkit.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin633 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 190 | 80 | 633 |
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.42 |
Average class complexity | 11.80 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 1 | 3.70% |
▷ Public methods | 26 | 96.30% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 3.70% |
Functions | 5 | |
▷ Named functions | 5 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin