Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼1.51ms] Passed 4 tests
Server-side resources used by WordPress 3d Model Viewer
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 32.49 ▼6.73 |
Dashboard /wp-admin | 3.35 ▲0.05 | 48.28 ▲2.65 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 49.36 ▲3.01 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 89.25 ▼1.79 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 35.33 ▼0.17 |
All 3D Model /wp-admin/edit.php?post_type=vc3dmodels | 3.32 | 41.55 |
Add New /wp-admin/post-new.php?post_type=vc3dmodels | 3.31 | 47.07 |
Server storage [IO: ▲5.24MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WordPress 3d Model Viewer
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,246 ▲489 | 16.25 ▲1.88 | 197.43 ▲195.24 | 52.54 ▲11.48 |
Dashboard /wp-admin | 2,374 ▲219 | 6.47 ▲0.78 | 120.00 ▲25.03 | 39.39 ▼1.66 |
Posts /wp-admin/edit.php | 2,277 ▲188 | 3.32 ▲1.33 | 54.95 ▲12.30 | 35.82 ▲2.06 |
Add New Post /wp-admin/post-new.php | 1,704 ▲176 | 24.55 ▲6.13 | 585.38 ▼9.91 | 38.57 ▼18.12 |
Media Library /wp-admin/upload.php | 1,413 ▲22 | 4.16 ▼0.19 | 84.59 ▼13.99 | 44.74 ▲1.49 |
All 3D Model /wp-admin/edit.php?post_type=vc3dmodels | 1,261 | 3.40 | 47.82 | 26.42 |
Add New /wp-admin/post-new.php?post_type=vc3dmodels | 1,731 | 3.60 | 62.49 | 35.01 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/3d-xr-library/3d-xr-library.php:13
- > PHP Fatal error
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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
2 plugin tags: animation, 3dxrlibrary
3d-xr-library/3d-xr-library.php Passed 13 tests
The main PHP file in "WordPress 3d Model Viewer" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
55 characters long description:
Use this shortcode [3dmodelviewer] to display 3D Model.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin11,866 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 0 | 0 | 9,552 |
JavaScript | 6 | 44 | 3,120 | 1,798 |
PHP | 1 | 29 | 28 | 268 |
CSS | 4 | 54 | 6 | 248 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
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 | 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
PNG images were not found in this plugin