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.05MB] [CPU: ▲0.38ms] Passed 4 tests
Server-side resources used by 3D DVD Cover (WebGL and THREE JS)
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 42.62 ▼10.10 |
Dashboard /wp-admin | 3.36 ▲0.06 | 56.22 ▲7.57 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 54.54 ▲6.42 |
Add New Post /wp-admin/post-new.php | 5.50 ▼0.39 | 86.84 ▲2.41 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 39.51 ▲2.78 |
Server storage [IO: ▲1.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 23 new files
Database: no new tables, 15 new options
New WordPress options |
---|
dvdcovercenter_size_w |
dvdcoverfront_size_h |
dvdcoverback_crop |
widget_recent-comments |
widget_theysaidso_widget |
dvdcoverfront_crop |
theysaidso_admin_options |
dvdcovercenter_size_h |
db_upgraded |
dvdcoverback_size_h |
... |
Browser metrics Passed 4 tests
3D DVD Cover (WebGL and THREE JS): an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲29 | 13.23 ▼1.15 | 5.00 ▲2.80 | 40.78 ▲1.13 |
Dashboard /wp-admin | 2,206 ▲15 | 4.86 ▼0.04 | 111.27 ▲6.87 | 42.00 ▼3.12 |
Posts /wp-admin/edit.php | 2,096 ▲4 | 2.03 ▲0.02 | 40.82 ▲0.61 | 35.03 ▼2.46 |
Add New Post /wp-admin/post-new.php | 1,662 ▲120 | 23.50 ▲5.46 | 878.46 ▲268.89 | 47.06 ▼7.63 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.22 ▲0.07 | 98.34 ▼1.44 | 41.30 ▼2.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 15 options
- dvdcoverback_crop
- dvdcovercenter_crop
- dvdcoverfront_size_h
- dvdcoverfront_crop
- dvdcovercenter_size_w
- widget_recent-posts
- dvdcoverback_size_h
- dvdcoverback_size_w
- theysaidso_admin_options
- widget_recent-comments
- ...
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
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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 output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/3d-dvd-cover/changecolordvd.php
- 6× PHP files trigger errors when accessed directly with GET requests:
- > PHP Notice
Undefined index: image_1 in wp-content/plugins/3d-dvd-cover/changecolordvd.php on line 19
- > PHP Notice
Undefined index: logo in wp-content/plugins/3d-dvd-cover/changecolordvd.php on line 3
- > PHP Notice
Undefined index: image_3 in wp-content/plugins/3d-dvd-cover/changecolordvd.php on line 41
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/3d-dvd-cover/3d_threejs.php:11
- > PHP Notice
Undefined index: image_2 in wp-content/plugins/3d-dvd-cover/changecolordvd.php on line 30
- > PHP Notice
Undefined index: color in wp-content/plugins/3d-dvd-cover/changecolordvd.php on line 2
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots do not have images: #1 (Change color dvd case), #2 (Select and upload image), #3 (Save image post.), #4 (Preview image post)
3d-dvd-cover/3d_threejs.php 92% from 13 tests
"3D DVD Cover (WebGL and THREE JS)" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("3d-dvd-cover.php" instead of "3d_threejs.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected1,540 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 248 | 86 | 1,226 |
PHP | 2 | 35 | 30 | 284 |
CSS | 1 | 0 | 0 | 30 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
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
PNG files should be compressed to save space and minimize bandwidth usage
10 PNG files occupy 0.43MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/dvdcenter.png | 0.51KB | 0.49KB | ▼ 4.37% |
images/prin_icon2.png | 0.56KB | 0.79KB | 0.00% |
screenshot-3.png | 69.73KB | 33.17KB | ▼ 52.43% |
screenshot-1.png | 72.63KB | 20.59KB | ▼ 71.64% |
images/dvdfront.png | 0.98KB | 1.02KB | 0.00% |