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
Installer ran successfully
Server metrics [RAM: ▼0.21MB] [CPU: ▼298.13ms] Passed 4 tests
This is a short check of server-side resources used by 3D DVD Cover (WebGL and THREE JS)
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.02 | 61.77 ▲4.22 |
Dashboard /wp-admin | 3.43 ▲0.03 | 36.13 ▲1.11 |
Posts /wp-admin/edit.php | 3.66 ▲0.02 | 41.40 ▼1.50 |
Add New Post /wp-admin/post-new.php | 6.06 ▼0.91 | 79.50 ▼1,192.37 |
Media Library /wp-admin/upload.php | 3.31 ▲0.02 | 24.24 ▲0.26 |
Server storage [IO: ▲1.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 9 new options
New WordPress options |
---|
dvdcoverback_crop |
dvdcoverback_size_h |
dvdcovercenter_size_w |
dvdcoverfront_size_w |
dvdcoverfront_crop |
dvdcoverback_size_w |
dvdcoverfront_size_h |
dvdcovercenter_size_h |
dvdcovercenter_crop |
Browser metrics Passed 4 tests
A check of browser resources used by 3D DVD Cover (WebGL and THREE JS)
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,795 ▲51 | 15.86 ▼0.19 | 5.56 ▼0.30 | 2.52 ▲0.41 |
Dashboard /wp-admin | 2,895 ▲37 | 6.12 ▼0.06 | 113.99 ▼21.31 | 157.03 ▼6.38 |
Posts /wp-admin/edit.php | 2,698 ▲7 | 3.23 ▼0.01 | 62.82 ▼0.56 | 139.63 ▼7.91 |
Add New Post /wp-admin/post-new.php | 1,801 ▲41 | 20.78 ▼1.79 | 543.92 ▲97.63 | 228.32 ▲65.95 |
Media Library /wp-admin/upload.php | 1,695 ▼0 | 5.51 ▲0.07 | 145.56 ▼2.92 | 186.62 ▼12.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 9 options
- dvdcovercenter_size_w
- dvdcoverback_size_w
- dvdcoverback_size_h
- dvdcovercenter_crop
- dvdcoverfront_size_w
- dvdcoverfront_size_h
- dvdcoverfront_crop
- dvdcoverback_crop
- dvdcovercenter_size_h
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
The following issues need your attention
- 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 server errors when accessed directly:
- > 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: logo in wp-content/plugins/3d-dvd-cover/changecolordvd.php on line 3
- > PHP Notice
Undefined index: image_1 in wp-content/plugins/3d-dvd-cover/changecolordvd.php on line 19
- > PHP Notice
Undefined index: color in wp-content/plugins/3d-dvd-cover/changecolordvd.php on line 2
- > PHP Notice
Undefined index: image_3 in wp-content/plugins/3d-dvd-cover/changecolordvd.php on line 41
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
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 require attention:
- Screenshots: These screenshots require 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
The main PHP script in "3D DVD Cover (WebGL and THREE JS)" version 1.0 is automatically included on every request by WordPress
The following require your attention:
- Main file name: It is recommended to name the main PHP file 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
Success! There were no dangerous files found in this plugin1,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
A short review of cyclomatic complexity and code structure
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
10 PNG files occupy 0.43MB with 0.13MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 173.58KB | 36.91KB | ▼ 78.74% |
images/prin_icon2.png | 0.56KB | 0.79KB | 0.00% |
screenshot-3.png | 69.73KB | 33.17KB | ▼ 52.43% |
images/prin_icon.png | 0.89KB | 0.70KB | ▼ 20.79% |
images/dvdcenter.png | 0.51KB | 0.49KB | ▼ 4.37% |