Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.10ms] Passed 4 tests
An overview of server-side resources used by 3D Slider Slice Box
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.19 ▼1.82 |
Dashboard /wp-admin | 3.32 ▲0.01 | 43.56 ▼4.02 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 44.44 ▼1.93 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 84.93 ▼7.98 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 32.56 ▼2.47 |
3D Slider /wp-admin/options-general.php?page=sboptions | 3.18 | 28.33 |
Server storage [IO: ▲0.52MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for 3D Slider Slice Box
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,908 ▲173 | 13.68 ▼0.72 | 4.70 ▲2.91 | 37.38 ▼1.41 |
Dashboard /wp-admin | 2,207 ▲22 | 5.81 ▲0.92 | 97.18 ▼4.54 | 37.31 ▼3.68 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.99 ▼0.02 | 35.56 ▼4.34 | 34.70 ▼2.83 |
Add New Post /wp-admin/post-new.php | 1,536 ▲17 | 23.24 ▲0.09 | 633.96 ▼58.98 | 49.59 ▼6.21 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.29 ▲0.11 | 91.49 ▼10.13 | 43.83 ▼1.81 |
3D Slider /wp-admin/options-general.php?page=sboptions | 1,267 | 2.02 | 25.79 | 29.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=sboptions
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=sboptions
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=sboptions
- > Notice in wp-content/plugins/3d-slider-slicebox/sliderbox.php+161
Undefined index: link1
- > GET request to /wp-admin/options-general.php?page=sboptions
- > Notice in wp-content/plugins/3d-slider-slicebox/sliderbox.php+163
Undefined index: name1
- > GET request to /wp-admin/options-general.php?page=sboptions
- > Notice in wp-content/plugins/3d-slider-slicebox/sliderbox.php+165
Undefined index: perma1
- > GET request to /wp-admin/options-general.php?page=sboptions
- > Notice in wp-content/plugins/3d-slider-slicebox/sliderbox.php+161
Undefined index: link2
- > GET request to /wp-admin/options-general.php?page=sboptions
- > Notice in wp-content/plugins/3d-slider-slicebox/sliderbox.php+163
Undefined index: name2
- > GET request to /wp-admin/options-general.php?page=sboptions
- > Notice in wp-content/plugins/3d-slider-slicebox/sliderbox.php+165
Undefined index: perma2
- > GET request to /wp-admin/options-general.php?page=sboptions
- > Notice in wp-content/plugins/3d-slider-slicebox/sliderbox.php+161
Undefined index: link3
- > GET request to /wp-admin/options-general.php?page=sboptions
- > Notice in wp-content/plugins/3d-slider-slicebox/sliderbox.php+163
Undefined index: name3
- > GET request to /wp-admin/options-general.php?page=sboptions
- > Notice in wp-content/plugins/3d-slider-slicebox/sliderbox.php+165
Undefined index: perma3
- > GET request to /wp-admin/options-general.php?page=sboptions
- > Notice in wp-content/plugins/3d-slider-slicebox/sliderbox.php+161
Undefined index: link4
- > GET request to /wp-admin/options-general.php?page=sboptions
- > Notice in wp-content/plugins/3d-slider-slicebox/sliderbox.php+163
Undefined index: name4
- > GET request to /wp-admin/options-general.php?page=sboptions
- > Notice in wp-content/plugins/3d-slider-slicebox/sliderbox.php+165
Undefined index: perma4
- > GET request to /wp-admin/options-general.php?page=sboptions
- > Notice in wp-content/plugins/3d-slider-slicebox/sliderbox.php+161
Undefined index: link5
- > GET request to /wp-admin/options-general.php?page=sboptions
- > Notice in wp-content/plugins/3d-slider-slicebox/sliderbox.php+163
Undefined index: name5
- > GET request to /wp-admin/options-general.php?page=sboptions
- > Notice in wp-content/plugins/3d-slider-slicebox/sliderbox.php+165
Undefined index: perma5
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
Almost there! Just fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/3d-slider-slicebox/sliderbox.php:40
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Tags: Too many tags (15 tag instead of maximum 10); only the first 5 tags are used in your directory listing
3d-slider-slicebox/sliderbox.php 92% from 13 tests
The main PHP file in "3D Slider Slice Box" ver. 1.3 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("3d-slider-slicebox.php" instead of "sliderbox.php")
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
Good job! No executable or dangerous file extensions detected1,099 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 259 | 117 | 539 |
PHP | 1 | 54 | 34 | 377 |
CSS | 1 | 28 | 1 | 183 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
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 | 9 | |
▷ Named functions | 9 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/nav.png | 1.69KB | 0.45KB | ▼ 73.12% |
images/shadow.png | 30.08KB | 15.52KB | ▼ 48.41% |
images/options.png | 1.82KB | 0.69KB | ▼ 61.99% |