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
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.67ms] Passed 4 tests
An overview of server-side resources used by File Upload Field for Formidable Forms (lite)
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 33.39 ▼7.09 |
Dashboard /wp-admin | 3.31 ▲0.01 | 40.24 ▼10.87 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 50.24 ▲6.50 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 85.93 ▼8.15 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.36 ▼0.56 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by File Upload Field for Formidable Forms (lite)
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 14.48 ▲0.13 | 1.89 ▲0.08 | 37.98 ▼5.91 |
Dashboard /wp-admin | 2,206 ▲18 | 5.85 ▲0.03 | 111.03 ▼6.32 | 44.08 ▼0.75 |
Posts /wp-admin/edit.php | 2,092 ▼0 | 2.00 ▼0.01 | 39.14 ▲2.32 | 34.18 ▼2.29 |
Add New Post /wp-admin/post-new.php | 1,544 ▲30 | 18.10 ▲0.61 | 605.51 ▼85.89 | 48.16 ▲0.80 |
Media Library /wp-admin/upload.php | 1,385 ▼0 | 4.10 ▼0.11 | 103.79 ▼6.24 | 42.75 ▼6.28 |
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
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- 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
Everything seems fine, however this is by no means an exhaustive test
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
Please take a closer look at the following
- 4× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/upload-field-lite-formidable/classes/model/builder-settings.php
- > /wp-content/plugins/upload-field-lite-formidable/classes/view/back-end/builder-field.php
- > /wp-content/plugins/upload-field-lite-formidable/upload-field-lite-formidable.php
- > /wp-content/plugins/upload-field-lite-formidable/classes/view/front-end/front-end-field.php
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 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:
- Tags: You are using too many tags: 11 tag instead of maximum 10
upload-field-lite-formidable/upload-field-lite-formidable.php 92% from 13 tests
This is the main PHP file of "File Upload Field for Formidable Forms (lite)" version 1.1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Requires at least: Required version must be the same as the one declared in readme.txt ("3.0" instead of "5.2")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected198 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 22 | 156 | 198 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 1.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 14 | |
▷ Static methods | 3 | 21.43% |
▷ Public methods | 8 | 57.14% |
▷ Protected methods | 5 | 35.71% |
▷ Private methods | 1 | 7.14% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin