Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼4.76ms] Passed 4 tests
Server-side resources used by Post to infusionsoft
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 43.18 ▲3.39 |
Dashboard /wp-admin | 3.38 ▲0.03 | 49.78 ▼11.85 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 53.54 ▼3.20 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 96.89 ▼6.86 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 37.85 ▲2.89 |
Server storage [IO: ▲0.61MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Post to infusionsoft: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,848 ▲77 | 14.36 ▲0.13 | 3.55 ▲1.44 | 45.12 ▲4.43 |
Dashboard /wp-admin | 2,220 ▲53 | 5.59 ▲0.01 | 83.16 ▼50.25 | 37.97 ▼11.52 |
Posts /wp-admin/edit.php | 2,131 ▲31 | 2.02 ▲0.01 | 42.56 ▲0.32 | 36.34 ▼4.76 |
Add New Post /wp-admin/post-new.php | 1,560 ▲32 | 22.90 ▼0.19 | 635.20 ▼64.66 | 69.12 ▲0.96 |
Media Library /wp-admin/upload.php | 1,425 ▲22 | 4.24 ▲0.01 | 101.28 ▲0.56 | 43.83 ▼2.15 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/post-to-infusionsoft/api_data/conn.cfg.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Donate link: Invalid URI ("#")
- Screenshots: These screenshots lack descriptions #2, #3 in post-to-infusionsoft/assets to your readme.txt
post-to-infusionsoft/post-to-infusionsoft.php Passed 13 tests
The main PHP file in "Post to infusionsoft" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
52 characters long description:
Here you can send form data to infusionsoft account.
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
Everything looks great! No dangerous files found in this plugin5,204 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 2,817 | 2,848 | 5,195 |
CSS | 4 | 1 | 0 | 5 |
JavaScript | 4 | 0 | 3 | 4 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 25.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 1.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 135 | |
▷ Static methods | 1 | 0.74% |
▷ Public methods | 133 | 98.52% |
▷ Protected methods | 1 | 0.74% |
▷ Private methods | 1 | 0.74% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
PNG images were not found in this plugin