Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.63ms] Passed 4 tests
This is a short check of server-side resources used by WP 3D SLICEBOX SLIDER
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 43.23 ▼2.23 |
Dashboard /wp-admin | 3.33 ▼0.02 | 51.84 ▼16.85 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 55.26 ▼0.37 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 89.40 ▼4.81 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 33.21 ▼2.64 |
All 3D Images /wp-admin/edit.php?post_type=wp3d_images | 3.29 | 37.35 |
Add New /wp-admin/post-new.php?post_type=wp3d_images | 3.31 | 46.77 |
Server storage [IO: ▲1.19MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by WP 3D SLICEBOX SLIDER
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,851 ▲90 | 14.28 ▼0.01 | 4.99 ▲3.06 | 46.97 ▲1.56 |
Dashboard /wp-admin | 2,223 ▲52 | 5.58 ▼0.00 | 90.39 ▼6.97 | 36.35 ▼8.49 |
Posts /wp-admin/edit.php | 2,131 ▲31 | 2.03 ▲0.08 | 34.81 ▼4.89 | 34.21 ▼2.74 |
Add New Post /wp-admin/post-new.php | 1,565 ▲39 | 18.41 ▼4.56 | 645.79 ▲25.73 | 61.23 ▲1.17 |
Media Library /wp-admin/upload.php | 1,434 ▲37 | 4.22 ▲0.04 | 100.03 ▼3.22 | 45.86 ▲1.34 |
Slider Settings /wp-admin/setting.php | 26 | 0.42 | 0.15 | 13.68 |
All 3D Images /wp-admin/edit.php?post_type=wp3d_images | 1,104 | 1.97 | 29.11 | 31.17 |
Add New /wp-admin/post-new.php?post_type=wp3d_images | 1,636 | 3.55 | 60.06 | 32.02 |
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
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-3d-slice-box-slider/wpsliceboxslider.php:49
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-3d-slice-box-slider/setting.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-3d-slice-box-slider/plugin_options.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following user-side errors
- > GET request to /wp-admin/setting.php
- > Network (severe)
wp-admin/setting.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (Admin list interface showing Slider images and titles.), #2 (Example output.(see documentation).)
- Tags: Too many tags (21 tag instead of maximum 10); only the first 5 tags are used in your directory listing
wp-3d-slice-box-slider/wpsliceboxslider.php 92% from 13 tests
The main file in "WP 3D SLICEBOX SLIDER" v. 1.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wp-3d-slice-box-slider.php" instead of "wpsliceboxslider.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected993 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 259 | 99 | 522 |
PHP | 3 | 79 | 40 | 295 |
CSS | 2 | 28 | 1 | 176 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
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 | 12 | |
▷ Named functions | 12 | 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 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
6 PNG files occupy 1.03MB with 0.70MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/shadow.png | 30.08KB | 15.52KB | ▼ 48.41% |
screenshot-2.png | 831.08KB | 296.15KB | ▼ 64.37% |
images/options.png | 1.82KB | 0.69KB | ▼ 61.99% |
images/nav.png | 1.69KB | 0.45KB | ▼ 73.12% |
images/fancy_deboss.png | 3.61KB | 0.25KB | ▼ 93.02% |