Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The following installer errors require your attention
- This plugin did not install gracefully
- > Notice in wp-content/plugins/formidable-customizations/formidable-customizations.php+39
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.35ms] Passed 4 tests
Server-side resources used by Formidable Customizations
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 39.12 ▼2.20 |
Dashboard /wp-admin | 3.31 ▲0.00 | 50.12 ▼1.67 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.35 ▼5.42 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 91.83 ▼8.12 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.49 ▼0.56 |
Server storage [IO: ▲0.58MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Formidable Customizations
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.23 ▼0.09 | 1.62 ▼0.09 | 42.72 ▼1.08 |
Dashboard /wp-admin | 2,195 ▲18 | 5.53 ▼0.06 | 81.09 ▼19.14 | 37.94 ▼7.79 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 1.99 ▲0.01 | 35.55 ▼2.48 | 31.53 ▼3.61 |
Add New Post /wp-admin/post-new.php | 1,535 ▲7 | 18.28 ▼4.80 | 590.06 ▼6.75 | 63.65 ▲12.30 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.15 ▼0.03 | 92.80 ▼8.19 | 41.89 ▼1.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 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
Please fix the following items
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/formidable-customizations/admin/resources/options-help.php
- > /wp-content/plugins/formidable-customizations/admin/resources/about.php
- 9× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Switch statements may only contain one default clause in wp-content/plugins/formidable-customizations/admin/class.ssfc-options.php on line 230
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/formidable-customizations/formidable-customizations.php:16
- > PHP Warning
Use of undefined constant SSFC_IMAGES_URL - assumed 'SSFC_IMAGES_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/formidable-customizations/admin/resources/about.php on line 21
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/formidable-customizations/admin/ssfc-admin.php:10
- > PHP Warning
Use of undefined constant SSFC_IMAGES_URL - assumed 'SSFC_IMAGES_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/formidable-customizations/admin/resources/about.php on line 16
- > PHP Warning
Use of undefined constant SSFC_IMAGES_URL - assumed 'SSFC_IMAGES_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/formidable-customizations/admin/resources/about.php on line 18
- > PHP Warning
Use of undefined constant SSFC_IMAGES_URL - assumed 'SSFC_IMAGES_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/formidable-customizations/admin/resources/about.php on line 19
- > PHP Warning
Use of undefined constant SSFC_IMAGES_URL - assumed 'SSFC_IMAGES_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/formidable-customizations/admin/resources/about.php on line 20
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/formidable-customizations/includes/ssfc-functions.php:3
- > 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 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
formidable-customizations/formidable-customizations.php Passed 13 tests
The main file in "Formidable Customizations" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
72 characters long description:
A compendium of useful customizations and extensions for Formidable Pro.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin1,748 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 58 | 24 | 1,130 |
CSS | 1 | 0 | 1 | 290 |
SVG | 2 | 0 | 0 | 263 |
JavaScript | 1 | 10 | 10 | 65 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 59.00 |
▷ Minimum class complexity | 59.00 |
▷ Maximum class complexity | 59.00 |
Average method complexity | 4.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 17 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 18 | |
▷ Global constants | 18 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
6 PNG files occupy 0.08MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/eyesonly_banner.png | 23.35KB | 7.93KB | ▼ 66.04% |
images/fileaway_banner.png | 13.35KB | 4.49KB | ▼ 66.33% |
images/fes_banner.png | 8.17KB | 4.58KB | ▼ 44.01% |
images/bbc_banner.png | 20.49KB | 6.69KB | ▼ 67.37% |
images/ssfc_banner.png | 15.31KB | 8.58KB | ▼ 43.97% |