Benchmarks
Plugin footprint Passed 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.13MB] [CPU: ▼142.31ms] Passed 4 tests
Server-side resources used by Forms by Systemo
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.96 ▲0.13 | 42.48 ▲6.23 |
Dashboard /wp-admin | 3.19 ▲0.14 | 51.71 ▲4.49 |
Posts /wp-admin/edit.php | 3.30 ▲0.19 | 50.92 ▼1.50 |
Add New Post /wp-admin/post-new.php | 5.55 ▲0.12 | 98.63 ▼574.93 |
Media Library /wp-admin/upload.php | 3.13 ▲0.13 | 39.87 ▲2.69 |
Form templates /wp-admin/edit.php?post_type=form_tmpl_s | 3.17 | 37.72 |
Add message /wp-admin/post-new.php?post_type=message_cp | 3.32 | 53.22 |
All messages /wp-admin/edit.php?post_type=message_cp | 3.17 | 39.25 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 16 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Forms by Systemo: 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 / | 3,738 ▲166 | 15.87 ▲0.24 | 11.04 ▲0.56 | 52.12 ▼9.56 |
Dashboard /wp-admin | 3,003 ▲69 | 5.93 ▼0.03 | 150.58 ▼3.82 | 129.39 ▲10.04 |
Posts /wp-admin/edit.php | 2,775 ▲36 | 2.72 ▲0.01 | 76.11 ▼1.37 | 91.75 ▼2.47 |
Add New Post /wp-admin/post-new.php | 1,706 ▲23 | 18.77 ▲2.52 | 419.05 ▼29.08 | 119.16 ▲0.86 |
Media Library /wp-admin/upload.php | 1,843 ▲36 | 5.02 ▲0.02 | 170.47 ▲9.47 | 129.07 ▲7.11 |
Form templates /wp-admin/edit.php?post_type=form_tmpl_s | 1,433 | 2.62 | 73.96 | 80.37 |
Add message /wp-admin/post-new.php?post_type=message_cp | 3,443 | 9.00 | 259.69 | 173.27 |
All messages /wp-admin/edit.php?post_type=message_cp | 1,482 | 2.64 | 67.66 | 75.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 9× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/forms-by-systemo/includes/spam_protect.php:31
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/forms-by-systemo/includes/shortcodes/input-cp.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_next_scheduled() in wp-content/plugins/forms-by-systemo/includes/emailer.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/forms-by-systemo/index.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/forms-by-systemo/includes/shortcodes/form-s.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/forms-by-systemo/includes/shortcodes/form-cp.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/forms-by-systemo/includes/add_message_to_post.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/forms-by-systemo/includes/shortcodes/textarea-cp.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/forms-by-systemo/includes/shortcodes/form-s.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Tags: Too many tags (17 tag instead of maximum 10); only the first 5 tags are used in your directory listing
forms-by-systemo/index.php 77% from 13 tests
The primary PHP file in "Forms by Systemo" version 20150825 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("forms-by-systemo.php" instead of "index.php")
- Version: The version number should be digits and periods (ex. "1.0.3" instead of "20150825")
- Text Domain: The text domain name should consist of only dashes and lowercase characters
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 detected655 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 99 | 61 | 514 |
PO File | 1 | 40 | 40 | 110 |
Markdown | 1 | 19 | 0 | 31 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 31 | |
▷ Named functions | 31 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/images/icon-128x128.png | 7.30KB | 3.18KB | ▼ 56.43% |
includes/images/icon-256x256.png | 15.28KB | 5.92KB | ▼ 61.23% |