Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲1.31MB] [CPU: ▲0.99ms] Passed 4 tests
An overview of server-side resources used by Suffice Toolkit
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.68 ▲1.22 | 46.01 ▲8.20 |
Dashboard /wp-admin | 4.65 ▲1.34 | 58.35 ▲12.05 |
Posts /wp-admin/edit.php | 4.71 ▲1.35 | 52.31 ▼0.46 |
Add New Post /wp-admin/post-new.php | 7.25 ▲1.37 | 85.17 ▼15.73 |
Media Library /wp-admin/upload.php | 4.56 ▲1.33 | 44.88 ▲11.94 |
Categories /wp-admin/edit-tags.php?taxonomy=portfolio_cat&post_type=portfolio | 4.56 | 38.65 |
Add Project /wp-admin/post-new.php?post_type=portfolio | 4.72 | 60.26 |
All Projects /wp-admin/edit.php?post_type=portfolio | 4.62 | 42.72 |
Tags /wp-admin/edit-tags.php?taxonomy=portfolio_tag&post_type=portfolio | 4.56 | 38.22 |
Server storage [IO: ▲2.72MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 162 new files
Database: no new tables, 22 new options
New WordPress options |
---|
widget_themegrill_suffice_logo |
widget_theysaidso_widget |
widget_themegrill_suffice_button |
widget_themegrill_suffice_counter |
widget_themegrill_suffice_cta |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_themegrill_suffice_blog |
widget_themegrill_suffice_slider |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Suffice Toolkit
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,835 ▲74 | 14.35 ▲0.06 | 1.77 ▲0.26 | 44.50 ▲2.43 |
Dashboard /wp-admin | 2,238 ▲58 | 5.64 ▲0.03 | 85.29 ▲0.62 | 41.57 ▼3.77 |
Posts /wp-admin/edit.php | 2,143 ▲43 | 2.02 ▲0.07 | 33.27 ▼8.00 | 35.32 ▼0.59 |
Add New Post /wp-admin/post-new.php | 1,563 ▲26 | 23.47 ▲0.39 | 679.94 ▲81.42 | 63.12 ▲4.80 |
Media Library /wp-admin/upload.php | 1,443 ▲43 | 4.17 ▼0.01 | 93.77 ▼4.76 | 41.27 ▼7.48 |
Categories /wp-admin/edit-tags.php?taxonomy=portfolio_cat&post_type=portfolio | 1,314 | 2.12 | 27.36 | 30.02 |
Add Project /wp-admin/post-new.php?post_type=portfolio | 2,874 | 7.96 | 189.99 | 74.32 |
All Projects /wp-admin/edit.php?post_type=portfolio | 1,145 | 2.20 | 39.26 | 30.38 |
Tags /wp-admin/edit-tags.php?taxonomy=portfolio_tag&post_type=portfolio | 1,286 | 2.12 | 26.89 | 28.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 22 options
- widget_themegrill_suffice_iconbox
- widget_themegrill_suffice_slider
- widget_themegrill_suffice_portfolio
- widget_themegrill_suffice_blog
- widget_themegrill_suffice_button
- widget_recent-comments
- suffice_toolkit_admin_notices
- widget_themegrill_suffice_team
- widget_theysaidso_widget
- theysaidso_admin_options
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 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
Please take a closer look at the following
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Async_Request' not found in wp-content/plugins/suffice-toolkit/includes/libraries/wp-background-process.php:16
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/suffice-toolkit/includes/abstracts/abstract-suffice-widget.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
4 plugin tags: suffice, themegrill, toolkit, theme
suffice-toolkit/suffice-toolkit.php Passed 13 tests
The principal PHP file in "Suffice Toolkit" v. 1.0.9 is loaded by WordPress automatically on each request
72 characters long description:
Suffice Toolkit is a companion for Suffice WordPress theme by ThemeGrill
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
No dangerous file extensions were detected18,739 lines of code in 92 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 61 | 844 | 1,934 | 5,895 |
JavaScript | 13 | 1,236 | 480 | 4,965 |
JSON | 3 | 0 | 0 | 3,535 |
Sass | 8 | 194 | 0 | 3,518 |
SVG | 1 | 0 | 0 | 685 |
XML | 1 | 2 | 55 | 136 |
CSS | 5 | 0 | 3 | 5 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 8.91 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 79.00 |
Average method complexity | 2.49 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 37.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 32 | |
▷ Abstract classes | 3 | 9.38% |
▷ Concrete classes | 29 | 90.62% |
▷ Final classes | 1 | 3.45% |
Methods | 172 | |
▷ Static methods | 43 | 25.00% |
▷ Public methods | 133 | 77.33% |
▷ Protected methods | 21 | 12.21% |
▷ Private methods | 18 | 10.47% |
Functions | 35 | |
▷ Named functions | 35 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 9 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
60 PNG files occupy 0.99MB with 0.78MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/woocommerce-clean.png | 31.81KB | 0.37KB | ▼ 98.85% |
assets/images/portfolio-hover.png | 15.60KB | 0.27KB | ▼ 98.24% |
assets/images/title-magazine-style.png | 15.58KB | 0.24KB | ▼ 98.43% |
assets/images/slidernavagationbutton-flat.png | 15.63KB | 0.29KB | ▼ 98.13% |
assets/images/title-cursive.png | 0.25KB | 0.26KB | 0.00% |