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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.27ms] Passed 4 tests
A check of server-side resources used by Cube 3D Slider
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.26 ▼0.96 |
Dashboard /wp-admin | 3.33 ▼0.01 | 47.89 ▼9.13 |
Posts /wp-admin/edit.php | 3.45 ▲0.10 | 52.98 ▲4.86 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 84.75 ▼14.05 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.99 ▲3.06 |
Help /wp-admin/admin.php?page=cube_3d_sliders_help | 3.25 | 38.46 |
Cube 3D Sliders /wp-admin/admin.php?page=cube_3d_sliders | 3.31 | 38.61 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 15 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_cube_3d_sliders |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Cube 3D Slider
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,980 ▲233 | 14.58 ▲0.45 | 1.78 ▲0.12 | 41.67 ▲2.01 |
Dashboard /wp-admin | 2,363 ▲183 | 6.18 ▲0.55 | 117.87 ▲26.87 | 80.35 ▲42.17 |
Posts /wp-admin/edit.php | 2,288 ▲191 | 3.34 ▲1.35 | 52.95 ▲15.70 | 68.15 ▲33.72 |
Add New Post /wp-admin/post-new.php | 1,551 ▲25 | 23.15 ▼0.07 | 663.16 ▲31.35 | 167.13 ▲114.39 |
Media Library /wp-admin/upload.php | 1,425 ▲25 | 4.08 ▼0.09 | 91.19 ▼8.93 | 72.16 ▲29.60 |
Help /wp-admin/admin.php?page=cube_3d_sliders_help | 995 | 3.06 | 40.38 | 60.21 |
Cube 3D Sliders /wp-admin/admin.php?page=cube_3d_sliders | 3,053 | 12.95 | 246.68 | 79.53 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 50% 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)
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/cube-3d-slider/views/help.php
- > /wp-content/plugins/cube-3d-slider/views/cube-3d-slider.tpl.php
- 48× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Notice
Trying to get property 'width' of non-object in wp-content/plugins/cube-3d-slider/views/cube-3d-slider.tpl.php on line 24
- > PHP Notice
Undefined variable: atts in wp-content/plugins/cube-3d-slider/views/cube-3d-slider.tpl.php on line 115
- > PHP Notice
Trying to get property 'left_face_text' of non-object in wp-content/plugins/cube-3d-slider/views/cube-3d-slider.tpl.php on line 139
- > PHP Notice
Trying to get property 'top_face_image' of non-object in wp-content/plugins/cube-3d-slider/views/cube-3d-slider.tpl.php on line 62
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/cube-3d-slider/views/cube-3d-slider.tpl.php on line 115
- > PHP Notice
Undefined variable: c3s in wp-content/plugins/cube-3d-slider/views/cube-3d-slider.tpl.php on line 13
- > PHP Notice
Trying to get property 'bottom_face_image' of non-object in wp-content/plugins/cube-3d-slider/views/cube-3d-slider.tpl.php on line 69
- > PHP Notice
Undefined variable: c3s in wp-content/plugins/cube-3d-slider/views/cube-3d-slider.tpl.php on line 34
- > PHP Notice
Undefined variable: c3s in wp-content/plugins/cube-3d-slider/views/cube-3d-slider.tpl.php on line 62
- > PHP Notice
Trying to get property 'width' of non-object in wp-content/plugins/cube-3d-slider/views/cube-3d-slider.tpl.php on line 14
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Tags: You are using too many tags: 13 tag instead of maximum 10
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== cube-3d-slider ===
)
cube-3d-slider/cube-3d-slider.php 85% from 13 tests
Analyzing the main PHP file in "Cube 3D Slider" version 1.11
Please make the necessary changes and fix the following:
- Domain Path: The domain path should use only dashes and lowercase characters ("")
- Domain Path: Please prefix the domain path with a forward slash character ("/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected560 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 95 | 23 | 412 |
CSS | 2 | 19 | 8 | 105 |
JavaScript | 1 | 22 | 1 | 43 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
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
7 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/add.png | 0.69KB | 0.41KB | ▼ 40.51% |
images/next.png | 1.53KB | 1.60KB | 0.00% |
images/fb.png | 1.59KB | 1.00KB | ▼ 37.42% |
images/remove.png | 1.27KB | 1.20KB | ▼ 5.76% |
images/icon.png | 0.70KB | 0.75KB | 0.00% |