Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/42u-jetpack-booster/inc/FTU.php+430
Methods with the same name as their class will not be constructors in a future version of PHP; WP_Widget_Taxonomy_Terms has a deprecated constructor
Server metrics [RAM: ▼2.18MB] [CPU: ▼339.77ms] Passed 4 tests
Analyzing server-side resources used by 42U Jetpack Booster
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.17 ▼1.38 | 4.76 ▼45.93 |
Dashboard /wp-admin | 2.25 ▼1.19 | 4.77 ▼29.40 |
Posts /wp-admin/edit.php | 2.25 ▼1.42 | 5.53 ▼34.41 |
Add New Post /wp-admin/post-new.php | 2.25 ▼4.75 | 5.26 ▼1,249.35 |
Media Library /wp-admin/upload.php | 2.25 ▼1.08 | 4.74 ▼26.35 |
Jetpack Booster Options /wp-admin/admin.php?page=42u-jetpack-booster/42u-jetpack-booster.php | 2.25 | 5.08 |
42 Umbrellas /wp-admin/admin.php?page=42-Umbrellas | 2.25 | 5.63 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 17 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for 42U Jetpack Booster
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,951 ▲197 | 16.21 ▲0.55 | 10.23 ▲2.39 | 2.28 ▼0.35 |
Dashboard /wp-admin | 2,939 ▲84 | 6.06 ▼0.01 | 117.65 ▼16.06 | 156.49 ▼8.30 |
Posts /wp-admin/edit.php | 2,703 ▲9 | 3.25 ▲0.01 | 65.73 ▲2.04 | 136.94 ▼10.80 |
Add New Post /wp-admin/post-new.php | 1,695 ▼22 | 15.73 ▼5.35 | 400.08 ▼44.08 | 155.25 ▼3.67 |
Media Library /wp-admin/upload.php | 1,745 ▲50 | 5.58 ▲0.06 | 145.93 ▲6.04 | 191.93 ▼3.28 |
Jetpack Booster Options /wp-admin/admin.php?page=42u-jetpack-booster/42u-jetpack-booster.php | 2,069 | 8.74 | 172.57 | 206.86 |
42 Umbrellas /wp-admin/admin.php?page=42-Umbrellas | 1,068 | 2.43 | 53.01 | 99.01 |
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
Please fix the following items
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/42u-jetpack-booster/inc/FTU.php+430
Methods with the same name as their class will not be constructors in a future version of PHP; WP_Widget_Taxonomy_Terms has a deprecated constructor
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=42-Umbrellas
- > Deprecated in wp-content/plugins/42u-jetpack-booster/inc/FTU.php+430
Methods with the same name as their class will not be constructors in a future version of PHP; WP_Widget_Taxonomy_Terms has a deprecated constructor
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=42-Umbrellas
- > Warning in wp-content/plugins/42u-jetpack-booster/inc/FTU.php+72
Use of undefined constant FTU_VERSION - assumed 'FTU_VERSION' (this will throw an Error in a future version of PHP)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=42-Umbrellas
- > Deprecated in wp-content/plugins/42u-jetpack-booster/42u-jetpack-booster.php+40
Non-static method FTU::cleanOptions() should not be called statically
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=42-Umbrellas
- > Deprecated in wp-content/plugins/42u-jetpack-booster/42u-jetpack-booster.php+252
Non-static method FTU::set_post_type_icon() should not be called statically
- > GET request to /wp-admin/admin.php?page=42u-jetpack-booster/42u-jetpack-booster.php
- > Notice in wp-content/plugins/42u-jetpack-booster/42u-jetpack-booster.php+224
Undefined index: disable_HTMLemail
SRP 0% 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
Please take a closer look at the following
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/42u-jetpack-booster/inc/email/email_template.php
- > /wp-content/plugins/42u-jetpack-booster/inc/splash.php
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Warning
Use of undefined constant FTU_VERSION - assumed 'FTU_VERSION' (this will throw an Error in a future version of PHP) in wp-content/plugins/42u-jetpack-booster/inc/FTU.php on line 72
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/42u-jetpack-booster/inc/FTU.php:38
- > PHP Warning
Use of undefined constant FTU_VERSION - assumed 'FTU_VERSION' (this will throw an Error in a future version of PHP) in wp-content/plugins/42u-jetpack-booster/inc/FTU.php on line 72
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/42u-jetpack-booster/inc/FTU.php:38
- > PHP Warning
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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: Add an image for screenshot #1 (The basic HTML email template.)
42u-jetpack-booster/42u-jetpack-booster.php Passed 13 tests
The primary PHP file in "42U Jetpack Booster" version 1.3.2 is used by WordPress to initiate all plugin functionality
92 characters long description:
The 42U Jetpack Booster adds redirect tags and HTML email templates to Jetpack Contact Forms
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected827 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 259 | 143 | 823 |
JavaScript | 1 | 2 | 0 | 3 |
CSS | 2 | 1 | 1 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 13.14 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 2.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 47 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 46 | 97.87% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 2.13% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
8 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/jetpack_booster_adminmenu16-sprite_2x.png | 1.30KB | 0.69KB | ▼ 47.07% |
images/jetpack_booster_adminpage32.png | 0.77KB | 0.39KB | ▼ 50.19% |
images/jetpack_booster_adminmenu16-sprite.png | 0.69KB | 0.43KB | ▼ 37.75% |
inc/images/42U_adminpage32.png | 1.33KB | 1.18KB | ▼ 11.22% |
inc/images/42U_adminpage32_2x.png | 3.26KB | 2.25KB | ▼ 30.80% |