Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼4.29ms] Passed 4 tests
Server-side resources used by Forms: 3rd-Party Submission Reformat
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 37.52 ▼3.59 |
Dashboard /wp-admin | 3.36 ▲0.06 | 47.78 ▼7.05 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 45.73 ▼0.81 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 86.58 ▼5.69 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 35.49 ▼0.31 |
Forms 3rdparty Formatter /wp-admin/options-general.php?page=f3i_ff_settings | 3.25 | 34.95 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Forms: 3rd-Party Submission Reformat
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲7 | 14.20 ▼0.15 | 1.62 ▼0.54 | 38.96 ▼12.64 |
Dashboard /wp-admin | 2,199 ▲19 | 5.63 ▼0.04 | 85.10 ▼4.51 | 35.28 ▼8.25 |
Posts /wp-admin/edit.php | 2,107 ▲4 | 1.96 ▼0.01 | 38.45 ▼6.24 | 31.93 ▼4.97 |
Add New Post /wp-admin/post-new.php | 1,537 ▲9 | 23.34 ▲0.21 | 610.23 ▼18.05 | 75.18 ▲10.95 |
Media Library /wp-admin/upload.php | 1,407 ▲10 | 4.16 ▼0.04 | 101.09 ▲0.40 | 42.68 ▼2.45 |
Forms 3rdparty Formatter /wp-admin/options-general.php?page=f3i_ff_settings | 849 | 2.03 | 24.24 | 29.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/forms-3rdparty-submission-reformat/f3i-field-format.php:23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Tags: You are using too many tags: 14 tag instead of maximum 10
- Screenshots: These screenshots need descriptions #1, #2 in forms-3rdparty-submission-reformat/assets to your readme.txt
forms-3rdparty-submission-reformat/f3i-field-format.php 92% from 13 tests
The main PHP script in "Forms: 3rd-Party Submission Reformat" version 0.2.2 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("forms-3rdparty-submission-reformat.php" instead of "f3i-field-format.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected239 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 96 | 96 | 214 |
Markdown | 1 | 17 | 0 | 25 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 2.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 1 | 33.33% |
▷ Concrete classes | 2 | 66.67% |
▷ Final classes | 0 | 0.00% |
Methods | 21 | |
▷ Static methods | 2 | 9.52% |
▷ Public methods | 21 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 16 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 16 | 100.00% |
▷ Public constants | 16 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin