Benchmarks
Plugin footprint 83% 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.01MB] [CPU: ▼7.03ms] Passed 4 tests
Server-side resources used by Pepperjam Pixel
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 41.19 ▲1.75 |
Dashboard /wp-admin | 3.33 ▼0.02 | 47.64 ▼14.29 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 49.25 ▼11.77 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 94.68 ▼3.81 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 39.63 ▲3.42 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Pepperjam Pixel
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲34 | 14.24 ▼0.33 | 2.03 ▲0.22 | 43.21 ▲4.03 |
Dashboard /wp-admin | 2,201 ▲27 | 5.53 ▼0.08 | 89.63 ▼7.24 | 38.47 ▼2.15 |
Posts /wp-admin/edit.php | 2,106 ▲3 | 1.95 ▼0.04 | 39.38 ▲2.26 | 35.64 ▲0.74 |
Add New Post /wp-admin/post-new.php | 1,542 ▲14 | 23.07 ▲0.14 | 618.45 ▼71.60 | 49.52 ▼7.59 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.28 ▲0.09 | 105.10 ▼3.85 | 49.97 ▲2.37 |
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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- 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
Everything seems fine, however this is by no means 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 fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/pepperjam-pixel/includes/data-pj-form-fields.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: woocommerce, woo, pepperjam, commerce, pixel
pepperjam-pixel/pepperjam.php 69% from 13 tests
Analyzing the main PHP file in "Pepperjam Pixel" version 1.1.1
You should first fix the following items:
- Domain Path: Please prefix the domain path with a forward slash character ("/languages/")
- Main file name: The principal plugin file should be the same as the plugin slug ("pepperjam-pixel.php" instead of "pepperjam.php")
- Domain Path: The domain path should use only dashes and lowercase characters ("languages/")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected595 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 204 | 387 | 595 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 16.80 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 2.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 1 | 20.00% |
Methods | 51 | |
▷ Static methods | 7 | 13.73% |
▷ Public methods | 39 | 76.47% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 12 | 23.53% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 8 | |
▷ Global constants | 7 | 87.50% |
▷ Class constants | 1 | 12.50% |
▷ Public constants | 1 | 100.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
There are no PNG files in this plugin