Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.45MB] [CPU: ▼4.00ms] Passed 4 tests
An overview of server-side resources used by iContact Lead Forms
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.97 ▲0.51 | 51.86 ▲4.53 |
Dashboard /wp-admin | 3.79 ▲0.45 | 54.56 ▼19.61 |
Posts /wp-admin/edit.php | 3.85 ▲0.49 | 53.59 ▲1.54 |
Add New Post /wp-admin/post-new.php | 6.34 ▲0.45 | 99.15 ▼2.47 |
Media Library /wp-admin/upload.php | 3.65 ▲0.43 | 47.33 ▲11.31 |
About /wp-admin/admin.php?page=icontact-forms-about | 3.63 | 39.66 |
iContact Forms /wp-admin/options-general.php?page=icontact-forms | 3.63 | 50.19 |
Forms /wp-admin/admin.php?page=icontact-forms-forms | 3.66 | 37.85 |
Settings /wp-admin/admin.php?page=icontact-forms-settings | 3.63 | 38.61 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 42 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for iContact Lead Forms
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,002 ▲241 | 13.86 ▼0.39 | 8.23 ▲6.33 | 44.11 ▲1.67 |
Dashboard /wp-admin | 2,317 ▲137 | 5.58 ▲0.05 | 91.68 ▼3.21 | 45.11 ▲2.47 |
Posts /wp-admin/edit.php | 2,233 ▲136 | 2.18 ▲0.18 | 44.17 ▲7.52 | 39.40 ▲4.00 |
Add New Post /wp-admin/post-new.php | 6,460 ▲4,934 | 22.59 ▼0.41 | 860.52 ▲228.92 | 41.70 ▼10.82 |
Media Library /wp-admin/upload.php | 1,528 ▲128 | 4.18 ▼0.03 | 99.17 ▼2.04 | 42.81 ▲0.11 |
About /wp-admin/admin.php?page=icontact-forms-about | 1,464 | 9.29 | 296.79 | 61.79 |
iContact Forms /wp-admin/options-general.php?page=icontact-forms | 1,026 | 1.65 | 27.77 | 33.56 |
Forms /wp-admin/admin.php?page=icontact-forms-forms | 1,199 | 1.74 | 27.46 | 33.10 |
Settings /wp-admin/admin.php?page=icontact-forms-settings | 1,026 | 1.83 | 23.95 | 31.80 |
Uninstaller [IO: ▲0.18MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attentionThe uninstall procedure has failed, leaving 6 options in the database
- Incomplete uninstall procedure, leaving 42 files (0.18MB) in the plugin directory
- (new file) admin/class-icontact-forms-forms-table.php
- (new file) admin/images/apple-icon-152x152.png
- (new file) admin/images/icontact-icon-blue.svg
- (new file) admin/images/apple-icon-152x152.svg
- (new file) LICENSE.txt
- (new file) admin/css/icontact-forms-admin.css
- (new file) admin/images/icontact-pc-logo-top-menu.svg
- (new file) README.txt
- (new file) admin/class-icontact-forms-admin.php
- (new file) admin/index.php
- ...
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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 fix the following items
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/icontact-forms/admin/class-icontact-forms-forms-table.php on line 15
- > 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/icontact-forms/admin/class-icontact-forms-forms-table.php on line 15
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/icontact-forms/admin/class-icontact-forms-forms-table.php on line 15
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=icontact-forms-about
- > Other (warning) in unknown
/wp-admin/admin.php?page=icontact-forms-about 203 Unrecognized feature: 'web-share'.
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
7 plugin tags: icontact forms, newsletter, forms, email, marketing...
icontact-forms/icontact-forms.php Passed 13 tests
The principal PHP file in "iContact Lead Forms" v. 1.0.1 is loaded by WordPress automatically on each request
102 characters long description:
The official iContact plugin to add iContact forms to your WordPress site and grow your mailing lists.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin2,610 lines of code in 35 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 24 | 379 | 1,821 | 1,879 |
JavaScript | 3 | 47 | 155 | 375 |
CSS | 4 | 55 | 20 | 275 |
SVG | 3 | 1 | 1 | 41 |
JSON | 1 | 0 | 0 | 40 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 17.64 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 87.00 |
Average method complexity | 2.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 118 | |
▷ Static methods | 5 | 4.24% |
▷ Public methods | 104 | 88.14% |
▷ Protected methods | 4 | 3.39% |
▷ Private methods | 10 | 8.47% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 10 | |
▷ Global constants | 10 | 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
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/apple-icon-152x152.png | 7.15KB | 3.52KB | ▼ 50.81% |