Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼10.14ms] Passed 4 tests
An overview of server-side resources used by 360 Spin For Woocommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 39.63 ▲0.37 |
Dashboard /wp-admin | 3.34 ▼0.00 | 48.73 ▼18.04 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 50.43 ▼4.21 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 88.51 ▼15.35 |
Media Library /wp-admin/upload.php | 3.27 ▲0.03 | 32.79 ▼2.97 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] 67% from 3 tests
Filesystem and database footprint
It is recommended to fix the following issues
- Illegal file modification found: 1 file (4.00KB) outside of "wp-content/plugins/glo3dapp-woospin/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
360 Spin For Woocommerce: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲79 | 13.24 ▼1.02 | 1.94 ▲0.28 | 39.32 ▼1.52 |
Dashboard /wp-admin | 2,218 ▲12 | 5.79 ▲0.74 | 99.87 ▼9.16 | 42.37 ▼1.37 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 2.01 ▼0.01 | 33.59 ▼5.54 | 36.00 ▼2.39 |
Add New Post /wp-admin/post-new.php | 1,526 ▼5 | 17.76 ▼5.26 | 669.15 ▲62.45 | 63.37 ▲8.13 |
Media Library /wp-admin/upload.php | 1,397 ▼6 | 4.20 ▼0.05 | 105.09 ▲2.21 | 58.16 ▲15.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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 perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/glo3dapp-woospin/thumb.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 83% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
7 plugin tags: 360 spin, free woocommerce 360 product photography app, woocommerce easy 360, 360 product photography, free 360 spin plugin...
glo3dapp-woospin/360-spin-for-woocommerce.php 62% from 13 tests
"360 Spin For Woocommerce" version 1.2.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("glo3dapp-woospin.php" instead of "360-spin-for-woocommerce.php")
- Domain Path: The domain path folder was not found ("/languages")
- Requires at least: Required version must match the one declared in readme.txt ("3.1" instead of "2.2")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 150 characters long)
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
Success! There were no dangerous files found in this plugin309 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 17 | 20 | 213 |
JavaScript | 3 | 3 | 4 | 66 |
SVG | 1 | 0 | 1 | 26 |
CSS | 2 | 0 | 0 | 4 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
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 | 11 | |
▷ Named functions | 11 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin