Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▲1.21ms] Passed 4 tests
An overview of server-side resources used by WP Super Form
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 34.82 ▼4.33 |
Dashboard /wp-admin | 3.36 ▲0.06 | 49.63 ▲2.05 |
Posts /wp-admin/edit.php | 3.41 ▲0.06 | 55.30 ▲6.68 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 107.69 ▲19.63 |
Media Library /wp-admin/upload.php | 3.28 ▲0.06 | 33.67 ▲0.45 |
Contacts /wp-admin/edit.php?post_type=wp-super-form | 3.33 | 34.32 |
Contact /wp-admin/post-new.php?post_type=wp-super-form | 3.32 | 40.55 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
WP Super Form: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,828 ▲82 | 13.24 ▼1.12 | 2.22 ▲0.34 | 42.29 ▼5.89 |
Dashboard /wp-admin | 2,231 ▲43 | 4.91 ▲0.08 | 126.12 ▲6.52 | 48.54 ▲3.33 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 2.04 ▲0.07 | 49.46 ▲9.94 | 36.27 ▲0.75 |
Add New Post /wp-admin/post-new.php | 1,557 ▲38 | 23.14 ▼0.11 | 763.35 ▲155.87 | 61.24 ▲6.48 |
Media Library /wp-admin/upload.php | 1,419 ▲31 | 4.21 ▼0.04 | 98.46 ▼10.38 | 41.63 ▼4.98 |
Contacts /wp-admin/edit.php?post_type=wp-super-form | 1,078 | 1.99 | 31.12 | 29.99 |
Contact /wp-admin/post-new.php?post_type=wp-super-form | 1,476 | 2.64 | 54.55 | 57.63 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 1× 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/wp-super-form/view/contact.php:29
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: contact form, wp super form, form, wp forms, super
wp-super-form/wp-super-form.php 92% from 13 tests
The main file in "WP Super Form" v. 0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Domain Path: The domain path folder was not found ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected181 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 58 | 29 | 160 |
CSS | 1 | 0 | 0 | 19 |
Markdown | 1 | 0 | 0 | 2 |
JavaScript | 1 | 2 | 5 | 0 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
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 | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 5 | |
▷ Static methods | 1 | 20.00% |
▷ Public methods | 4 | 80.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 20.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 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
There were not PNG files found in your plugin