Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼302.52ms] Passed 4 tests
A check of server-side resources used by 3D Slider Slice Box
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.06 | 59.72 ▲3.03 |
Dashboard /wp-admin | 3.47 ▲0.06 | 36.97 ▲0.06 |
Posts /wp-admin/edit.php | 3.70 ▲0.06 | 44.32 ▲0.41 |
Add New Post /wp-admin/post-new.php | 6.94 ▼0.03 | 95.35 ▼1,207.60 |
Media Library /wp-admin/upload.php | 3.36 ▲0.06 | 25.83 ▼2.93 |
3D Slider /wp-admin/options-general.php?page=sboptions | 3.30 | 28.68 |
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, no new options
Browser metrics Passed 4 tests
A check of browser resources used by 3D Slider Slice Box
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,873 ▲119 | 16.47 ▲0.84 | 9.04 ▲2.49 | 2.39 ▼0.86 |
Dashboard /wp-admin | 2,894 ▲36 | 6.15 ▼0.02 | 119.49 ▼12.28 | 158.52 ▼2.79 |
Posts /wp-admin/edit.php | 2,693 ▲5 | 3.23 ▲0.20 | 63.09 ▼4.28 | 137.68 ▼13.44 |
Add New Post /wp-admin/post-new.php | 1,693 ▲32 | 18.71 ▲2.69 | 382.73 ▼40.76 | 158.96 ▼0.66 |
Media Library /wp-admin/upload.php | 1,700 ▲2 | 5.53 ▲0.06 | 147.94 ▲4.84 | 195.98 ▲14.14 |
3D Slider /wp-admin/options-general.php?page=sboptions | 1,618 | 2.36 | 55.79 | 136.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstaller ran successfully
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=sboptions
- > User deprecated in wp-includes/functions.php+5326
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+5326
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 server errors when accessed directly:
- > 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 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Tags: You are using too many tags: 15 tag instead of maximum 10
3d-slider-slicebox/sliderbox.php 92% from 13 tests
This is the main PHP file of "3D Slider Slice Box" version 1.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and 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 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were 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
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.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/shadow.png | 30.08KB | 15.52KB | ▼ 48.41% |
images/options.png | 1.82KB | 0.69KB | ▼ 61.99% |
images/nav.png | 1.69KB | 0.45KB | ▼ 73.12% |