Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼127.60ms] Passed 4 tests
Server-side resources used by Formidable Forms Modal
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 36.27 ▼4.58 |
Dashboard /wp-admin | 3.41 ▼0.02 | 55.14 ▼485.19 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 49.87 ▼8.99 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.13 | 90.05 ▼11.64 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 35.63 ▼1.54 |
All Formidable Modals /wp-admin/edit.php?post_type=frm-modal | 3.37 | 38.61 |
Add New /wp-admin/post-new.php?post_type=frm-modal | 3.37 | 38.33 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Formidable Forms Modal
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,948 ▲213 | 13.57 ▼0.80 | 5.81 ▲3.84 | 37.49 ▼18.50 |
Dashboard /wp-admin | 2,242 ▲54 | 4.84 ▼0.23 | 105.91 ▲4.20 | 39.44 ▲1.54 |
Posts /wp-admin/edit.php | 2,124 ▲35 | 2.03 ▲0.04 | 37.15 ▲3.02 | 34.33 ▼1.70 |
Add New Post /wp-admin/post-new.php | 1,546 ▲13 | 17.81 ▼5.90 | 682.80 ▲10.00 | 70.83 ▲21.02 |
Media Library /wp-admin/upload.php | 1,418 ▲30 | 4.41 ▲0.22 | 97.12 ▼2.80 | 41.43 ▼2.20 |
All Formidable Modals /wp-admin/edit.php?post_type=frm-modal | 1,088 | 1.93 | 32.19 | 27.79 |
Add New /wp-admin/post-new.php?post_type=frm-modal | 1,547 | 2.57 | 55.67 | 66.62 |
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
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
- 4× 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/frm-modal/inc/admin/views/html-popup-template-preview.php:26
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/frm-modal/inc/admin/class-frm-modal-postype.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/frm-modal/inc/admin/class-frm-modal-customizer.php:256
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/frm-modal/inc/admin/class-frm-modal-settings-metabox.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots do not have images: #1 (Add New Modal Settings), #2 (Modal Overlay Setting with Live Preview Designer), #3 (Modal Container Setting with Live Preview Designer)
frm-modal/modal.php 92% from 13 tests
The principal PHP file in "Formidable Forms Modal" v. 1.0 is loaded by WordPress automatically on each request
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("frm-modal.php" instead of "modal.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected1,131 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 177 | 147 | 724 |
CSS | 1 | 35 | 6 | 310 |
JavaScript | 3 | 13 | 3 | 97 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 5.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 1.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 32 | |
▷ Static methods | 4 | 12.50% |
▷ Public methods | 28 | 87.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 12.50% |
Functions | 3 | |
▷ Named functions | 3 | 100.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
PNG images were not found in this plugin