Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.07MB] [CPU: ▼5.59ms] Passed 4 tests
A check of server-side resources used by LikeablePress Integration of SendFox for Divi
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 36.27 ▼1.96 |
Dashboard /wp-admin | 3.37 ▲0.07 | 45.26 ▼7.14 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 47.80 ▲0.59 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 88.13 ▼13.83 |
Media Library /wp-admin/upload.php | 3.29 ▲0.07 | 34.59 ▲0.78 |
Server storage [IO: ▲2.09MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 37 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by LikeablePress Integration of SendFox for Divi
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,897 ▲140 | 13.61 ▼0.78 | 8.21 ▲6.00 | 39.26 ▼5.56 |
Dashboard /wp-admin | 2,219 ▲34 | 5.80 ▲0.86 | 106.73 ▲4.87 | 72.82 ▲32.43 |
Posts /wp-admin/edit.php | 2,102 ▲13 | 2.04 ▼0.01 | 36.63 ▼6.96 | 31.77 ▼5.19 |
Add New Post /wp-admin/post-new.php | 1,535 ▲1 | 23.18 ▲0.10 | 722.92 ▲132.64 | 54.83 ▼0.28 |
Media Library /wp-admin/upload.php | 1,401 ▲10 | 4.21 ▲0.03 | 93.70 ▼1.91 | 67.30 ▲26.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/likeablepress-sendfox-for-divi/divi-sendfox-wp-admin.php
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/likeablepress-sendfox-for-divi/divi-sendfox-wp-admin.php:349
- > PHP Fatal error
Uncaught Error: Class 'DiviExtension' not found in wp-content/plugins/likeablepress-sendfox-for-divi/includes/SenfoxExtension.php:3
- > PHP Fatal error
Uncaught Error: Class 'ET_Builder_Module' not found in wp-content/plugins/likeablepress-sendfox-for-divi/includes/modules/SendFox/SendFox.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
10 plugin tags: newsletter, divi module, sendfox, email, opt-in form...
likeablepress-sendfox-for-divi/my-sendfox-extension.php 69% from 13 tests
This is the main PHP file of "LikeablePress Integration of SendFox for Divi" version 1.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
- Main file name: It is recommended to name the main PHP file as the plugin slug ("likeablepress-sendfox-for-divi.php" instead of "my-sendfox-extension.php")
- Text Domain: The text domain should only use lowercase characters and dashes
- Description: Please keep the plugin description shorter than 140 characters (currently 157 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected2,270 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 399 | 221 | 1,604 |
JSX | 2 | 101 | 41 | 292 |
CSS | 3 | 90 | 45 | 254 |
JavaScript | 6 | 26 | 14 | 110 |
SVG | 1 | 0 | 0 | 10 |
PHP code Passed 2 tests
A short review 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.32 |
Average class complexity | 19.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 54.00 |
Average method complexity | 6.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 17 | |
▷ Named functions | 17 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
11 PNG files occupy 0.77MB with 0.31MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/icon5.png | 1.65KB | 1.59KB | ▼ 3.20% |
assets/img/banner-1544x500.png | 528.71KB | 141.03KB | ▼ 73.33% |
assets/img/icon1.png | 0.68KB | 0.66KB | ▼ 2.74% |
assets/img/logo.png | 31.80KB | 16.83KB | ▼ 47.09% |
assets/img/banner-772x250.png | 186.08KB | 47.21KB | ▼ 74.63% |