Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.16MB] [CPU: ▼0.59ms] Passed 4 tests
Analyzing server-side resources used by canvasio3D Light
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 40.94 ▲3.91 |
Dashboard /wp-admin | 3.47 ▲0.17 | 59.29 ▲12.37 |
Posts /wp-admin/edit.php | 3.59 ▲0.24 | 50.92 ▲1.15 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 83.69 ▼14.16 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 39.03 ▲6.74 |
Server storage [IO: ▲5.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 78 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_ca3D_Model |
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
canvasio3D_ID |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for canvasio3D Light
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,041 ▲280 | 14.79 ▲0.24 | 5.44 ▲3.70 | 43.97 ▲2.57 |
Dashboard /wp-admin | 2,328 ▲151 | 6.19 ▲0.52 | 119.92 ▲33.59 | 103.65 ▲56.56 |
Posts /wp-admin/edit.php | 2,274 ▲174 | 3.30 ▲1.31 | 48.12 ▲11.66 | 66.73 ▲29.31 |
Add New Post /wp-admin/post-new.php | 1,689 ▲161 | 22.44 ▼0.83 | 649.79 ▲1.42 | 36.95 ▼19.51 |
Media Library /wp-admin/upload.php | 1,416 ▲19 | 4.08 ▼0.09 | 80.70 ▼22.54 | 67.61 ▲23.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_ca3D_Model
- This plugin does not fully uninstall, leaving 7 options in the database
- canvasio3D_ID
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
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
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
Almost there! Just fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/canvasio3d-light/inc/caData.inc.php
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Screenshots: A description for screenshot #0 is required in canvasio3d-light/assets to your readme.txt
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== canvasio3D Light===
)
canvasio3d-light/canvasio3D.php 92% from 13 tests
The main PHP file in "canvasio3D Light" ver. 2.4.6 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("canvasio3d-light.php" instead of "canvasio3D.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin6,618 lines of code in 37 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 20 | 755 | 373 | 2,835 |
PO File | 13 | 1,173 | 1,372 | 2,329 |
PHP | 3 | 0 | 148 | 998 |
CSS | 1 | 0 | 0 | 456 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 50.00 |
▷ Minimum class complexity | 50.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 3.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 23 | |
▷ Static methods | 4 | 17.39% |
▷ Public methods | 21 | 91.30% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 8.70% |
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
PNG files should be compressed to save space and minimize bandwidth usage
20 PNG files occupy 0.22MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/assets/icons/caBack.png | 1.27KB | 1.24KB | ▼ 2.53% |
inc/assets/icons/caWindow.png | 1.20KB | 1.12KB | ▼ 6.45% |
inc/css/caHandPointer.png | 12.28KB | 4.50KB | ▼ 63.34% |
inc/assets/icons/caButtons.png | 1.34KB | 1.27KB | ▼ 5.40% |
inc/assets/icons/caData.png | 0.63KB | 0.53KB | ▼ 15.31% |