Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼290.36ms] Passed 4 tests
This is a short check of server-side resources used by Infusionsoft Landing Pages
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.07 | 65.16 ▲13.01 |
Dashboard /wp-admin | 3.50 ▲0.09 | 34.50 ▲2.49 |
Posts /wp-admin/edit.php | 3.72 ▲0.08 | 39.88 ▲2.27 |
Add New Post /wp-admin/post-new.php | 6.98 ▼0.01 | 97.62 ▼1,165.52 |
Media Library /wp-admin/upload.php | 3.38 ▲0.08 | 24.76 ▼0.66 |
Infusionsoft Landing Pages /wp-admin/options-general.php?page=ilp-landingpages | 3.35 | 22.49 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Infusionsoft Landing Pages: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,788 ▲34 | 15.99 ▲0.37 | 9.40 ▲2.81 | 2.41 ▼0.40 |
Dashboard /wp-admin | 2,897 ▲42 | 6.14 ▼0.05 | 116.16 ▼23.72 | 161.40 ▼0.65 |
Posts /wp-admin/edit.php | 2,693 ▼1 | 3.24 ▲0.00 | 88.35 ▲26.99 | 138.57 ▼1.47 |
Add New Post /wp-admin/post-new.php | 1,755 ▲3 | 21.61 ▲0.61 | 461.00 ▲17.39 | 157.38 ▼2.34 |
Media Library /wp-admin/upload.php | 1,700 ▲5 | 5.50 ▼0.03 | 133.46 ▼3.89 | 184.87 ▼2.78 |
Infusionsoft Landing Pages /wp-admin/options-general.php?page=ilp-landingpages | 1,176 | 2.51 | 56.43 | 99.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstall script ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Congratulations! This plugin passed the SRP test
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
These are user-side errors you should fix
- > GET request to /wp-admin/options-general.php?page=ilp-landingpages
- > Network (severe)
https://landingpages.infusionsoft.com/api/v1/sites?limit=20&offset=0 - Failed to load resource: the server responded with a status of 401 ()
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
infusionsoft-landing-pages/index.php 92% from 13 tests
The primary PHP file in "Infusionsoft Landing Pages" version 1.3 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("infusionsoft-landing-pages.php" instead of "index.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
Everything looks great! No dangerous files found in this plugin534 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 63 | 24 | 399 |
JavaScript | 1 | 23 | 1 | 92 |
CSS | 1 | 8 | 0 | 43 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.65 |
Average class complexity | 37.50 |
▷ Minimum class complexity | 37.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 6.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 5 | 38.46% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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 |
images/icon-256x256.png | 8.75KB | 4.45KB | ▼ 49.07% |