Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.54MB] [CPU: ▲4.48ms] Passed 4 tests
Analyzing server-side resources used by Easy 3D Viewer
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.87 ▲0.41 | 41.56 ▼0.53 |
Dashboard /wp-admin | 3.94 ▲0.63 | 52.96 ▲6.17 |
Posts /wp-admin/edit.php | 3.99 ▲0.63 | 56.60 ▲9.32 |
Add New Post /wp-admin/post-new.php | 6.45 ▲0.57 | 86.13 ▲3.23 |
Media Library /wp-admin/upload.php | 3.77 ▲0.54 | 38.84 ▲9.06 |
Server storage [IO: ▲4.83MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 109 new files
Database: no new tables, 9 new options
New WordPress options |
---|
woo3dv_servers |
woo3dv_version |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
woo3dv_settings |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Easy 3D Viewer
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,112 ▲350 | 17.02 ▲2.31 | 51.95 ▲50.10 | 38.58 ▼4.96 |
Dashboard /wp-admin | 2,372 ▲195 | 6.42 ▲0.80 | 121.38 ▲28.36 | 42.72 ▼2.49 |
Posts /wp-admin/edit.php | 2,297 ▲197 | 3.75 ▲1.75 | 58.61 ▲18.05 | 36.67 ▼2.14 |
Add New Post /wp-admin/post-new.php | 1,555 ▲29 | 23.40 ▲0.16 | 570.51 ▼29.38 | 33.08 ▼23.63 |
Media Library /wp-admin/upload.php | 1,440 ▲40 | 4.46 ▲0.18 | 84.84 ▼18.33 | 42.28 ▼0.82 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 9 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- woo3dv_version
- woo3dv_settings
- woo3dv_servers
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
Please fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/woo-3d-viewer/includes/woo3dv-functions.php:146
- > PHP Fatal error
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 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: obj, model, woocommerce, 3d, stl...
woo-3d-viewer/woo-3d-viewer.php 92% from 13 tests
The main PHP file in "Easy 3D Viewer" ver. 1.8.5.3 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected21,744 lines of code in 69 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 35 | 7,286 | 4,721 | 17,941 |
PHP | 11 | 579 | 955 | 2,089 |
CSS | 18 | 164 | 91 | 1,056 |
Sass | 1 | 88 | 1 | 514 |
SVG | 3 | 0 | 1 | 124 |
Markdown | 1 | 12 | 0 | 20 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
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 | 58 | |
▷ Named functions | 56 | 96.55% |
▷ Anonymous functions | 2 | 3.45% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
23 PNG files occupy 0.06MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/ext/jquery-ui/images/ui-bg_glass_55_fbf9ee_1x400.png | 0.33KB | 0.12KB | ▼ 62.09% |
includes/ext/jquery-ui/images/ui-bg_glass_65_ffffff_1x400.png | 0.20KB | 0.09KB | ▼ 57.49% |
includes/ext/jquery-ui/images/ui-icons_2e83ff_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
images/view3d.png | 2.78KB | 3.60KB | 0.00% |
images/zoom_out.png | 0.56KB | 0.52KB | ▼ 8.01% |