Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼145.64ms] Passed 4 tests
Server-side resources used by Fusion Page Builder : Extension - Contact Form
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.01 | 36.44 ▲2.01 |
Dashboard /wp-admin | 3.07 ▲0.02 | 47.09 ▲3.46 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 39.23 ▼11.92 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.01 | 88.84 ▼574.67 |
Media Library /wp-admin/upload.php | 3.01 ▲0.01 | 34.93 ▲2.04 |
Server storage [IO: ▲0.01MB] [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: 4 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Fusion Page Builder : Extension - Contact Form
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,702 ▲65 | 15.73 ▼0.15 | 9.28 ▲1.38 | 49.93 ▼2.92 |
Dashboard /wp-admin | 2,973 ▲42 | 5.91 ▼0.02 | 131.10 ▼7.86 | 114.37 ▼5.25 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.68 ▼0.00 | 64.09 ▲1.56 | 94.15 ▲11.65 |
Add New Post /wp-admin/post-new.php | 3,634 ▲1,943 | 20.51 ▲1.61 | 410.03 ▲52.03 | 102.38 ▼2.10 |
Media Library /wp-admin/upload.php | 1,807 ▼3 | 5.00 ▲0.00 | 142.78 ▼19.95 | 119.10 ▲3.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstall script ran successfully
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
Almost there! Just fix the following items
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fusion-extension-contact-form/includes/extensions/contact-form.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fusion-extension-contact-form/fusion-extension-contact-form.php:30
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Tags: There are too many tags (14 tag instead of maximum 10)
fusion-extension-contact-form/fusion-extension-contact-form.php Passed 13 tests
"Fusion Page Builder : Extension - Contact Form" version 1.1.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
42 characters long description:
Contact Form Extension Package for Fusion.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected57 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 23 | 46 | 57 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.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 | 2 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected