Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.45MB] [CPU: ▼0.72ms] Passed 4 tests
This is a short check of server-side resources used by SuevaFree Essential Kit
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.25 ▲0.52 | 48.48 ▲0.44 |
Dashboard /wp-admin | 4.07 ▲0.50 | 52.28 ▼1.59 |
Posts /wp-admin/edit.php | 4.12 ▲0.44 | 53.48 ▼1.22 |
Add New Post /wp-admin/post-new.php | 6.58 ▲0.44 | 97.30 ▼0.52 |
Media Library /wp-admin/upload.php | 3.93 ▲0.44 | 47.48 ▲6.80 |
Testimonial /wp-admin/edit.php?post_type=testimonial | 4.03 | 46.89 |
Service /wp-admin/edit.php?post_type=service | 4.03 | 59.66 |
Add new /wp-admin/post-new.php?post_type=service | 4.10 | 47.80 |
Team /wp-admin/edit.php?post_type=team | 4.03 | 41.84 |
Add new /wp-admin/post-new.php?post_type=team | 4.10 | 53.22 |
Add new /wp-admin/post-new.php?post_type=testimonial | 4.10 | 56.10 |
Server storage [IO: ▲0.34MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 31 new files
Database: no new tables, 13 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
widget_suevafree_cta_widget |
widget_suevafree_team_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_suevafree_testimonial_widget |
db_upgraded |
can_compress_scripts |
widget_suevafree_services_widget |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for SuevaFree Essential Kit
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,973 ▲187 | 13.95 ▼0.72 | 12.11 ▲9.84 | 44.60 ▲1.30 |
Dashboard /wp-admin | 2,279 ▲105 | 5.67 ▼0.02 | 86.98 ▼11.75 | 40.13 ▼2.98 |
Posts /wp-admin/edit.php | 2,181 ▲78 | 2.05 ▲0.05 | 49.01 ▲11.56 | 38.31 ▲3.38 |
Add New Post /wp-admin/post-new.php | 1,595 ▲69 | 17.53 ▼0.14 | 672.25 ▼14.84 | 54.11 ▼6.74 |
Media Library /wp-admin/upload.php | 1,478 ▲78 | 4.19 ▼0.14 | 103.14 ▼6.74 | 45.97 ▼1.36 |
Testimonial /wp-admin/edit.php?post_type=testimonial | 1,148 | 1.98 | 35.22 | 30.78 |
Service /wp-admin/edit.php?post_type=service | 1,145 | 1.98 | 31.09 | 31.10 |
Add new /wp-admin/post-new.php?post_type=service | 2,241 | 7.59 | 168.64 | 63.88 |
Team /wp-admin/edit.php?post_type=team | 1,127 | 2.11 | 32.57 | 30.44 |
Add new /wp-admin/post-new.php?post_type=team | 2,248 | 7.52 | 172.15 | 56.56 |
Add new /wp-admin/post-new.php?post_type=testimonial | 2,235 | 7.54 | 162.61 | 54.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options detected upon uninstall: 13 options
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_suevafree_news_widget
- widget_suevafree_services_widget
- widget_suevafree_team_widget
- can_compress_scripts
- widget_recent-comments
- widget_suevafree_count_widget
- widget_suevafree_cta_widget
- ...
Smoke tests 75% from 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)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 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
Please take a closer look at the following
- 13× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/suevafree-essential-kit/core/widgets/suevafree_counter_widget.php:3
- > PHP Fatal error
Uncaught Error: Class 'suevafree_cpt' not found in wp-content/plugins/suevafree-essential-kit/core/cpt/service.php:13
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/suevafree-essential-kit/core/widgets/suevafree_testimonial_widget.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/suevafree-essential-kit/core/widgets/suevafree_news_widget.php:3
- > PHP Fatal error
Uncaught Error: Class 'suevafree_cpt' not found in wp-content/plugins/suevafree-essential-kit/core/cpt/team.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/suevafree-essential-kit/functions.php:211
- > PHP Fatal error
Uncaught Error: Class 'suevafree_cpt' not found in wp-content/plugins/suevafree-essential-kit/core/cpt/testimonial.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/suevafree-essential-kit/functions.php:211
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/suevafree-essential-kit/core/widgets/suevafree_contactform_widget.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/suevafree-essential-kit/core/widgets/suevafree_cta_widget.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: Add an image for screenshot #1 (One Page layout example.)
suevafree-essential-kit/init.php 92% from 13 tests
The entry point to "SuevaFree Essential Kit" version 1.1.2 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("suevafree-essential-kit.php" instead of "init.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected2,758 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 1,069 | 143 | 1,649 |
CSS | 3 | 133 | 34 | 739 |
JavaScript | 5 | 122 | 44 | 217 |
PO File | 1 | 854 | 1,913 | 153 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
Average class complexity | 11.11 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 3.39 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 38 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 38 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 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 Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
4 PNG files occupy 0.06MB with 0.04MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/icons/zoom.png | 1.01KB | 0.23KB | ▼ 77.09% |
assets/images/icons/toggle-hover.png | 0.92KB | 0.11KB | ▼ 88.55% |
assets/images/icons/toggle.png | 0.98KB | 0.11KB | ▼ 88.49% |
screenshot-1.png | 55.08KB | 22.25KB | ▼ 59.61% |