Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼6.11ms] Passed 4 tests
An overview of server-side resources used by Glassboxx for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 35.22 ▼4.54 |
Dashboard /wp-admin | 3.37 ▲0.07 | 44.59 ▼2.83 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 47.36 ▼3.37 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 84.80 ▼13.70 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 35.81 ▲1.64 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Glassboxx for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲43 | 14.48 ▲0.17 | 1.53 ▼0.43 | 39.80 ▼7.76 |
Dashboard /wp-admin | 2,209 ▲24 | 4.87 ▼0.01 | 96.58 ▼5.86 | 42.16 ▼0.71 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.02 ▼0.04 | 36.12 ▼7.03 | 33.45 ▼0.19 |
Add New Post /wp-admin/post-new.php | 1,514 ▼14 | 17.83 ▼0.29 | 699.28 ▲92.84 | 54.02 ▲4.18 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.33 ▲0.03 | 97.80 ▲4.34 | 41.77 ▼1.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
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 output text when accessed directly:
- > /wp-content/plugins/glassboxx-integration-for-woocommerce/woocommerce-glassboxx.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: ebook, audiobook, digital downloads, woocommerce
glassboxx-integration-for-woocommerce/woocommerce-glassboxx.php 62% from 13 tests
The primary PHP file in "Glassboxx for WooCommerce" version 2.0.6 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("glassboxx-integration-for-woocommerce.php" instead of "woocommerce-glassboxx.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 447 characters long)
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Domain Path: The domain path is invalid: folder "/languages" does not exist
- Requires at least: Required version does not match the one declared in readme.txt ("4.9.4" instead of "3.0.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin463 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 59 | 37 | 415 |
CSS | 2 | 13 | 0 | 48 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 57.00 |
▷ Minimum class complexity | 57.00 |
▷ Maximum class complexity | 57.00 |
Average method complexity | 3.95 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.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 | 19 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 18 | 94.74% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 5.26% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
9 PNG files occupy 0.12MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/appstore-icon.png | 8.17KB | 6.52KB | ▼ 20.24% |
img/firsty-group.png | 22.68KB | 7.35KB | ▼ 67.58% |
img/glassboxx.png | 29.83KB | 16.43KB | ▼ 44.92% |
img/googleplay-icon.png | 13.88KB | 5.38KB | ▼ 61.25% |
img/apple-logo.png | 2.74KB | 1.18KB | ▼ 56.89% |