Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.22MB] [CPU: ▼5.25ms] Passed 4 tests
An overview of server-side resources used by Gravity Forms ExactTarget Add-on
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.22 | 37.03 ▼3.23 |
Dashboard /wp-admin | 3.52 ▲0.22 | 48.54 ▼4.34 |
Posts /wp-admin/edit.php | 3.64 ▲0.28 | 54.34 ▲4.07 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.22 | 86.18 ▼10.54 |
Media Library /wp-admin/upload.php | 3.45 ▲0.22 | 34.42 ▼2.90 |
Server storage [IO: ▲0.35MB] [DB: ▲0.31MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Gravity Forms ExactTarget Add-on
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲54 | 13.19 ▼1.40 | 2.02 ▲0.00 | 40.26 ▼3.60 |
Dashboard /wp-admin | 2,221 ▲18 | 5.86 ▲0.98 | 104.56 ▲4.14 | 41.83 ▲2.95 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.97 ▼0.08 | 35.03 ▼4.62 | 33.07 ▼4.46 |
Add New Post /wp-admin/post-new.php | 1,554 ▲28 | 18.10 ▲0.66 | 596.84 ▼95.57 | 63.62 ▼3.60 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.23 ▲0.01 | 95.34 ▼9.58 | 41.04 ▼5.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.31MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_currentuserinfo() in wp-content/plugins/gravity-forms-exacttarget/register.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gravity-forms-exacttarget/exacttarget.php:28
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 14 tag instead of maximum 10
- Screenshots: These screenshots do not have images: #1 (The Gravity Forms ExactTarget Add-on settings page), #2 (It's easy to integrate Gravity Forms with ExactTarget: set up a "Feed" and match up the fields you'd like sent to ExactTarget)
gravity-forms-exacttarget/exacttarget.php 92% from 13 tests
The main file in "Gravity Forms ExactTarget Add-on" v. 1.0.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("gravity-forms-exacttarget.php" instead of "exacttarget.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected2,475 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 621 | 113 | 2,475 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 95.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 189.00 |
Average method complexity | 5.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 50.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 | 58 | |
▷ Static methods | 37 | 63.79% |
▷ Public methods | 43 | 74.14% |
▷ Protected methods | 3 | 5.17% |
▷ Private methods | 12 | 20.69% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
5 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/active1.png | 0.71KB | 0.63KB | ▼ 11.28% |
images/remove.png | 3.32KB | 0.62KB | ▼ 81.33% |
images/active0.png | 0.65KB | 0.61KB | ▼ 5.56% |
images/add.png | 3.37KB | 0.66KB | ▼ 80.54% |
images/exacttarget_wordpress_icon_32.png | 2.40KB | 1.32KB | ▼ 44.91% |