Benchmarks
Plugin footprint 65% 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 gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▲35.75ms] Passed 4 tests
Server-side resources used by SC Simple Zazzle
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 90.86 ▲47.86 |
Dashboard /wp-admin | 3.33 ▼0.02 | 90.31 ▲23.02 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 87.87 ▲42.54 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 126.52 ▲29.57 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 216.66 ▲180.08 |
Add New /wp-admin/admin.php?page=simple-zazzle-edit | 3.42 | 82.61 |
Simple Zazzle /wp-admin/admin.php?page=simple-zazzle | 3.22 | 75.66 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 18 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_sc_simple_zazzle_table |
New WordPress options |
---|
theysaidso_admin_options |
widget_scszwidget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for SC Simple Zazzle
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 13.57 ▼0.70 | 1.54 ▼0.38 | 39.93 ▼4.19 |
Dashboard /wp-admin | 2,232 ▲44 | 5.83 ▼0.06 | 101.47 ▼2.18 | 41.49 ▼3.69 |
Posts /wp-admin/edit.php | 2,121 ▲32 | 2.05 ▲0.03 | 40.76 ▲2.78 | 30.51 ▼5.28 |
Add New Post /wp-admin/post-new.php | 1,538 ▲10 | 21.11 ▲2.80 | 692.08 ▲37.98 | 64.39 ▲9.02 |
Media Library /wp-admin/upload.php | 1,417 ▲32 | 4.25 ▲0.11 | 106.99 ▲4.54 | 48.14 ▲4.98 |
Add New /wp-admin/admin.php?page=simple-zazzle-edit | 1,305 | 2.26 | 27.26 | 32.98 |
Simple Zazzle /wp-admin/admin.php?page=simple-zazzle | 942 | 2.07 | 23.52 | 35.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure failed, leaving 1 table in the database
- wp_sc_simple_zazzle_table
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_scszwidget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
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 | 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 take a closer look at the following
- 15× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/sc-simple-zazzle/src/view-table.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/sc-simple-zazzle/src/country-list.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/sc-simple-zazzle/src/uninstall.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/sc-simple-zazzle/src/edit-short-code.php:138
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/upgrade.php' (include_path='.:/usr/share/php') in wp-content/plugins/sc-simple-zazzle/src/list-table.php on line 50
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/sc-simple-zazzle/src/edit-short-code.php on line 11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/sc-simple-zazzle/src/output-item-list.php:3
- > PHP Warning
require_once(ABSPATHwp-admin/includes/upgrade.php): failed to open stream: No such file or directory in wp-content/plugins/sc-simple-zazzle/src/list-table.php on line 50
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/sc-simple-zazzle/src/widget.php:4
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/sc-simple-zazzle/src/view-table.php on line 3
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (Main screen.), #2 (Screen to edit Zazzle information.)
sc-simple-zazzle/sc-simple-zazzle.php 92% from 13 tests
Analyzing the main PHP file in "SC Simple Zazzle" version 1.1.6
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 176 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected1,679 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 95 | 58 | 1,018 |
PO File | 1 | 102 | 107 | 235 |
JavaScript | 2 | 41 | 33 | 228 |
Markdown | 1 | 33 | 0 | 104 |
CSS | 1 | 19 | 0 | 94 |
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.29 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 2.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 19 | |
▷ Named functions | 18 | 94.74% |
▷ Anonymous functions | 1 | 5.26% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin