Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.97MB] [CPU: ▲1.07ms] Passed 4 tests
An overview of server-side resources used by Service Box Slider
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.42 ▲0.96 | 46.62 ▲0.88 |
Dashboard /wp-admin | 4.28 ▲0.98 | 52.60 ▼1.14 |
Posts /wp-admin/edit.php | 4.40 ▲1.04 | 54.67 ▲3.68 |
Add New Post /wp-admin/post-new.php | 6.87 ▲0.98 | 98.45 ▲0.84 |
Media Library /wp-admin/upload.php | 4.21 ▲0.98 | 42.90 ▲6.61 |
Template 21-30 /wp-admin/admin.php?page=sbs-6310-template-21-30 | 4.36 | 39.22 |
Privacy Policy /wp-admin/admin.php?page=sbs-6310-privacy-policy | 4.18 | 50.80 |
Manage Items /wp-admin/admin.php?page=sbs-6310-service-box-manage-items | 4.51 | 47.99 |
All Service Box /wp-admin/admin.php?page=sbs-6310-service-box | 4.21 | 39.02 |
WpMart Plugins /wp-admin/admin.php?page=sbs-6310-wpmart-plugins | 4.20 | 38.70 |
Settings /wp-admin/admin.php?page=sbs-6310-service-box-setting | 4.21 | 44.47 |
Template 41-50 /wp-admin/admin.php?page=sbs-6310-template-41-50 | 4.35 | 36.97 |
Template 11-20 /wp-admin/admin.php?page=sbs-6310-template-11-20 | 4.37 | 48.87 |
Import/Export Plugin /wp-admin/admin.php?page=sbs-6310-service-box-import-export | 4.20 | 51.44 |
License /wp-admin/admin.php?page=sbs-6310-service-box-license | 4.20 | 37.45 |
Server storage [IO: ▲2.66MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 272 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_sbs_6310_style |
wp_sbs_6310_item |
New WordPress options |
---|
widget_theysaidso_widget |
sbs_6310_version_info |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Service Box Slider
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,856 ▲95 | 14.62 ▲0.43 | 1.69 ▼0.04 | 45.68 ▼3.08 |
Dashboard /wp-admin | 2,262 ▲82 | 5.71 ▲0.04 | 115.88 ▲15.26 | 41.66 ▼5.24 |
Posts /wp-admin/edit.php | 2,170 ▲70 | 1.99 ▼0.04 | 40.71 ▲4.34 | 37.59 ▲1.48 |
Add New Post /wp-admin/post-new.php | 1,578 ▲50 | 23.20 ▲0.08 | 607.01 ▼94.97 | 55.16 ▲0.53 |
Media Library /wp-admin/upload.php | 1,470 ▲67 | 4.20 ▲0.06 | 103.15 ▼10.96 | 47.02 ▼0.70 |
Template 21-30 /wp-admin/admin.php?page=sbs-6310-template-21-30 | 4,526 | 35.64 | 1,015.58 | 233.07 |
Privacy Policy /wp-admin/admin.php?page=sbs-6310-privacy-policy | 956 | 2.11 | 33.41 | 36.16 |
Manage Items /wp-admin/admin.php?page=sbs-6310-service-box-manage-items | 6,071 | 4.22 | 64.47 | 42.72 |
All Service Box /wp-admin/admin.php?page=sbs-6310-service-box | 1,003 | 2.81 | 33.48 | 37.51 |
WpMart Plugins /wp-admin/admin.php?page=sbs-6310-wpmart-plugins | 1,089 | 2.81 | 37.68 | 38.79 |
Settings /wp-admin/admin.php?page=sbs-6310-service-box-setting | 1,200 | 3.01 | 41.20 | 33.47 |
Template 41-50 /wp-admin/admin.php?page=sbs-6310-template-41-50 | 3,177 | 19.60 | 529.59 | 124.36 |
Template 11-20 /wp-admin/admin.php?page=sbs-6310-template-11-20 | 5,463 | 41.30 | 1,124.61 | 103.70 |
Import/Export Plugin /wp-admin/admin.php?page=sbs-6310-service-box-import-export | 1,002 | 2.73 | 48.96 | 43.19 |
License /wp-admin/admin.php?page=sbs-6310-service-box-license | 1,029 | 2.72 | 35.87 | 35.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- The uninstall procedure failed, leaving 2 tables in the database
- wp_sbs_6310_item
- wp_sbs_6310_style
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- sbs_6310_version_info
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 0% from 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
Almost there! Just fix the following items
- 3× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/service-box-with-slider/settings/form/_search-form.php
- > /wp-content/plugins/service-box-with-slider/settings/helper/tab-menu.php
- > /wp-content/plugins/service-box-with-slider/settings/import-export-plugins.php
- 236× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Warning
Use of undefined constant sbs_6310_plugin_url - assumed 'sbs_6310_plugin_url' (this will throw an Error in a future version of PHP) in wp-content/plugins/service-box-with-slider/common-template.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/service-box-with-slider/settings/helper/_helper-25.php:46
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/service-box-with-slider/settings/helper/details_form_pro.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/service-box-with-slider/settings/templates/template-17.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/service-box-with-slider/output/template-01.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/service-box-with-slider/settings/helper/_helper-08.php:44
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/service-box-with-slider/settings/css/_css-50.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/service-box-with-slider/settings/templates/template-26.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/service-box-with-slider/settings/form/_form-33.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/service-box-with-slider/output/css/_css-05.php:4
- > PHP Warning
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)
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
3 plugin tags: service box, service box slider, services plugin
service-box-with-slider/index.php 92% from 13 tests
The main file in "Service Box Slider" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("service-box-with-slider.php" instead of "index.php")
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
There were no executable files found in this plugin46,878 lines of code in 266 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 249 | 2,129 | 964 | 35,839 |
CSS | 10 | 534 | 69 | 8,246 |
JavaScript | 7 | 67 | 68 | 2,793 |
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.81 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 44 | |
▷ Named functions | 44 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
3 PNG files occupy 0.07MB with 0.04MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/css/jquery.minicolors.png | 67.02KB | 34.31KB | ▼ 48.80% |
assets/css/fs-sprite.png | 1.07KB | 0.18KB | ▼ 82.82% |
assets/css/hover.png | 1.27KB | 0.66KB | ▼ 48.23% |