Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.50ms] Passed 4 tests
Analyzing server-side resources used by Dizzyjam
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 34.88 ▼5.60 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.81 ▼4.65 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.31 ▲0.99 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 87.78 ▲4.70 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.04 ▼0.72 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 47 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Dizzyjam
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.31 ▼1.07 | 1.56 ▼0.38 | 39.15 ▼4.48 |
Dashboard /wp-admin | 2,206 ▲18 | 4.84 ▼0.03 | 110.26 ▼5.71 | 43.50 ▼0.93 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.00 ▼0.04 | 40.79 ▲3.66 | 35.87 ▲3.01 |
Add New Post /wp-admin/post-new.php | 1,519 ▼23 | 23.17 ▲4.83 | 662.59 ▲0.38 | 58.42 ▲9.28 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.16 ▼0.02 | 97.92 ▼10.39 | 44.57 ▲0.89 |
Uninstaller [IO: ▲0.20MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attentionZombie WordPress options detected upon uninstall: 6 options
- This plugin has failed uninstalling correctly, leaving 47 files (0.20MB) in the plugin directory
- (new file) admin/js/products.js
- (new file) admin/js/shops.js
- (new file) admin/css/styles.css
- (new file) admin/products.php
- (new file) admin/images/logo.png
- (new file) admin/js/settings.js
- (new file) admin/install.php
- (new file) admin/admin.php
- (new file) admin/images/nav.png
- (new file) admin/settings.php
- ...
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 50% 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 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 16× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/dizzyjam/dizzyjam.php
- > /wp-content/plugins/dizzyjam/admin/shops.php
- > /wp-content/plugins/dizzyjam/admin/install.php
- > /wp-content/plugins/dizzyjam/templates/confirmation.php
- > /wp-content/plugins/dizzyjam/includes/router.php
- > /wp-content/plugins/dizzyjam/lib/pager.php
- > /wp-content/plugins/dizzyjam/includes/products.php
- > /wp-content/plugins/dizzyjam/lib/cart.php
- > /wp-content/plugins/dizzyjam/includes/basket.php
- > /wp-content/plugins/dizzyjam/lib/utils.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'MTR_Dizzyjam_Admin_Panel' not found in wp-content/plugins/dizzyjam/admin/settings.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: dizzyjam, shop, merch
dizzyjam/dizzyjam.php Passed 13 tests
This is the main PHP file of "Dizzyjam" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
78 characters long description:
This plugin allows to integrate a shop from dizzyjam.com website to your blog.
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
There were no executable files found in this plugin3,218 lines of code in 38 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 29 | 593 | 508 | 2,481 |
CSS | 2 | 57 | 1 | 457 |
JavaScript | 7 | 53 | 6 | 280 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
Average class complexity | 21.76 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 77.00 |
Average method complexity | 4.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 17 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 111 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 95 | 85.59% |
▷ Protected methods | 2 | 1.80% |
▷ Private methods | 14 | 12.61% |
Functions | 14 | |
▷ Named functions | 14 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.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
6 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/nav.png | 3.10KB | 0.63KB | ▼ 79.84% |
includes/images/logo-paypal.png | 14.29KB | 4.34KB | ▼ 69.59% |
includes/images/logo-black.png | 3.60KB | 1.42KB | ▼ 60.46% |
admin/images/logo.png | 1.55KB | 1.08KB | ▼ 30.13% |
includes/images/logo-white.png | 3.61KB | 1.42KB | ▼ 60.62% |