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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.13MB] [CPU: ▼3.35ms] Passed 4 tests
This is a short check of server-side resources used by WP 3D Thingviewer Lite
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 47.85 ▲4.78 |
Dashboard /wp-admin | 3.44 ▲0.09 | 56.31 ▼10.25 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 51.53 ▲2.99 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.14 | 89.54 ▼6.03 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 38.87 ▼0.09 |
Server storage [IO: ▲1.93MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 51 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by WP 3D Thingviewer Lite
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,882 ▲136 | 14.43 ▲0.12 | 14.42 ▲12.60 | 47.90 ▲4.03 |
Dashboard /wp-admin | 2,209 ▲21 | 4.86 ▼0.16 | 116.79 ▼0.91 | 44.30 ▼0.16 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▼0.01 | 34.22 ▲0.33 | 34.44 ▼4.52 |
Add New Post /wp-admin/post-new.php | 6,311 ▲4,792 | 25.34 ▲2.17 | 879.87 ▲212.36 | 59.25 ▲7.56 |
Media Library /wp-admin/upload.php | 1,504 ▲116 | 4.45 ▲0.30 | 102.83 ▼16.83 | 46.37 ▼1.27 |
Uninstaller [IO: ▲1.49MB] [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
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
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
Good news, no errors were detected
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× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/wp-3d-thingviewer-lite/public/partials/thingviewer-shortcode.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: A description for screenshot #6 is required in wp-3d-thingviewer-lite/assets to your readme.txt
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
wp-3d-thingviewer-lite/wp-3d-thingviewer-lite.php 92% from 13 tests
Analyzing the main PHP file in "WP 3D Thingviewer Lite" version 3.2
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 205 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected9,106 lines of code in 32 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 15 | 4,762 | 796 | 8,098 |
PHP | 14 | 178 | 640 | 586 |
Markdown | 2 | 92 | 0 | 212 |
CSS | 1 | 31 | 29 | 210 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 4.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 1.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 44 | |
▷ Static methods | 7 | 15.91% |
▷ Public methods | 38 | 86.36% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 13.64% |
Functions | 3 | |
▷ Named functions | 3 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/wp3dtv-icon.png | 0.61KB | 0.75KB | 0.00% |
public/images/wp3dtv-wc-icon.png | 8.61KB | 3.44KB | ▼ 60.06% |