Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.32MB] [CPU: ▼12.37ms] Passed 4 tests
Analyzing server-side resources used by EnvyChimp - WP Subscriber Plugin
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.85 ▲0.39 | 39.64 ▼2.37 |
Dashboard /wp-admin | 3.67 ▲0.33 | 44.78 ▼13.13 |
Posts /wp-admin/edit.php | 3.72 ▲0.37 | 46.69 ▼0.02 |
Add New Post /wp-admin/post-new.php | 6.19 ▲0.30 | 82.71 ▼19.00 |
Media Library /wp-admin/upload.php | 3.53 ▲0.30 | 40.28 ▼14.97 |
Server storage [IO: ▲3.31MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 72 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_envy_chimp_widget_function |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by EnvyChimp - WP Subscriber Plugin
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,896 ▲150 | 13.69 ▼0.58 | 4.63 ▲2.95 | 50.19 ▲10.88 |
Dashboard /wp-admin | 2,211 ▲30 | 5.63 ▼0.09 | 89.41 ▼9.87 | 38.10 ▼4.47 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 1.96 ▼0.01 | 39.70 ▲2.94 | 36.88 ▲1.65 |
Add New Post /wp-admin/post-new.php | 1,541 ▲13 | 23.05 ▲0.02 | 650.77 ▲9.35 | 49.39 ▼0.60 |
Media Library /wp-admin/upload.php | 1,416 ▲13 | 4.19 ▼0.05 | 94.33 ▼15.90 | 44.09 ▼5.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_envy_chimp_widget_function
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means 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
- 70× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Notice
Undefined variable: option_signup_area_new in wp-content/plugins/envychimp/public/partials/login/login-style-1.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/envychimp/public/partials/subscribe/subscribe-style-2.php:13
- > PHP Notice
Undefined variable: bg_image_hide_new in wp-content/plugins/envychimp/public/partials/subscribe/subscribe-style-3.php on line 9
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/envychimp/includes/class-envy-chimp-widget.php:3
- > PHP Notice
Undefined variable: option_signup_area_new in wp-content/plugins/envychimp/public/partials/signup/signup-style-1.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/envychimp/public/partials/signup/signup-style-4.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/envychimp/public/partials/subscribe/subscribe-style-4.php:3
- > PHP Notice
Undefined variable: envy_chimp_signup_heading_new in wp-content/plugins/envychimp/public/partials/login/login-style-3.php on line 14
- > PHP Notice
Undefined variable: option_signup_area_new in wp-content/plugins/envychimp/public/partials/signup/signup-style-2.php on line 5
- > PHP Notice
Undefined variable: envy_chimp_signup_heading_new in wp-content/plugins/envychimp/public/partials/signup/signup-style-1.php on line 16
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Tags: You are using too many tags: 14 tag instead of maximum 10
envychimp/envy-chimp.php 85% from 13 tests
Analyzing the main PHP file in "EnvyChimp - WP Subscriber Plugin" version 1.0.0
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("envychimp.php" instead of "envy-chimp.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin7,692 lines of code in 43 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 36 | 639 | 812 | 3,186 |
SVG | 1 | 0 | 0 | 2,671 |
CSS | 4 | 251 | 138 | 1,826 |
JavaScript | 2 | 1 | 0 | 9 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 3.80 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 1.65 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 1 | 10.00% |
Methods | 43 | |
▷ Static methods | 3 | 6.98% |
▷ Public methods | 36 | 83.72% |
▷ Protected methods | 2 | 4.65% |
▷ Private methods | 5 | 11.63% |
Functions | 70 | |
▷ Named functions | 70 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 1 | 25.00% |
▷ Class constants | 3 | 75.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
6 compressed PNG files occupy 0.52MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/img/subscribe-img-3.png | 9.82KB | 10.28KB | 0.00% |
public/img/subscribe-img-2.png | 19.00KB | 19.92KB | 0.00% |
public/img/envychimp-img-3-shape.png | 8.67KB | 8.70KB | 0.00% |
public/img/envychimp-img-3.png | 245.41KB | 264.68KB | 0.00% |
public/img/envychimp-img-2.png | 208.88KB | 225.12KB | 0.00% |