Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.07MB] [CPU: ▲12.33ms] Passed 4 tests
A check of server-side resources used by Formidable A/B Tests
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.20 | 52.14 ▲11.04 |
Dashboard /wp-admin | 3.36 ▲0.05 | 59.74 ▲13.70 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 68.43 ▲25.96 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 96.65 ▲3.74 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 54.94 ▲20.82 |
A/B Test /wp-admin/admin.php?page=inmab_test | 3.22 | 42.13 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_inmab_data |
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
inmab_db_version |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Formidable A/B Tests
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲67 | 13.11 ▼1.26 | 1.76 ▼0.17 | 42.90 ▼0.95 |
Dashboard /wp-admin | 2,208 ▲23 | 5.90 ▲0.07 | 107.23 ▲5.29 | 40.06 ▼0.97 |
Posts /wp-admin/edit.php | 2,091 ▼1 | 2.04 ▲0.05 | 41.07 ▲5.53 | 36.12 ▲2.13 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 22.31 ▼0.77 | 662.10 ▼3.96 | 56.22 ▼1.51 |
Media Library /wp-admin/upload.php | 1,390 ▲5 | 4.21 ▲0.04 | 96.42 ▼11.15 | 45.23 ▼1.60 |
A/B Test /wp-admin/admin.php?page=inmab_test | 970 | 2.04 | 24.13 | 29.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_inmab_data
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- inmab_db_version
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=inmab_test
- > Notice in wp-content/plugins/formidable-ab-tests/functions/functions_admin_display.php+206
Undefined offset: 0
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=inmab_test
- > Notice in wp-content/plugins/formidable-ab-tests/functions/functions_admin_display.php+206
Trying to access array offset on value of type null
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/formidable-ab-tests/functions/functions_admin_display.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/formidable-ab-tests/formidable-ab-tests.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: formidable pro, ab testing, ab test, forms
formidable-ab-tests/formidable-ab-tests.php Passed 13 tests
This is the main PHP file of "Formidable A/B Tests" version 0.07, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
45 characters long description:
Easily A/B test Formidable Pro created forms.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin353 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 124 | 69 | 326 |
CSS | 1 | 0 | 5 | 27 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 15 | |
▷ Named functions | 14 | 93.33% |
▷ Anonymous functions | 1 | 6.67% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.02MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/Logo2_200.png | 22.40KB | 5.79KB | ▼ 74.15% |