Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼4.86ms] Passed 4 tests
Server-side resources used by MachForm Shortcode
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 45.11 ▲2.15 |
Dashboard /wp-admin | 3.33 ▲0.03 | 47.07 ▼2.66 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 46.04 ▼0.34 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 84.16 ▼17.99 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 34.79 ▲1.55 |
Machform Shortcode /wp-admin/options-general.php?page=machform_shortcodes | 3.20 | 30.98 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for MachForm Shortcode
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,798 ▲37 | 14.25 ▲0.02 | 1.54 ▼0.20 | 35.93 ▼11.50 |
Dashboard /wp-admin | 2,204 ▲27 | 5.50 ▼0.18 | 82.14 ▼10.39 | 38.05 ▼5.37 |
Posts /wp-admin/edit.php | 2,110 ▲13 | 1.99 ▲0.05 | 37.01 ▼2.07 | 33.49 ▼4.85 |
Add New Post /wp-admin/post-new.php | 1,537 ▲6 | 23.09 ▲0.05 | 642.06 ▲3.44 | 60.09 ▼9.28 |
Media Library /wp-admin/upload.php | 1,412 ▲12 | 4.19 ▲0.03 | 104.00 ▲11.52 | 44.65 ▲5.52 |
Machform Shortcode /wp-admin/options-general.php?page=machform_shortcodes | 987 | 2.29 | 22.74 | 30.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=machform_shortcodes
- > Notice in wp-content/plugins/machform-shortcode/machform-shortcode.php+156
Undefined index: mfsc_submit
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× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/machform-shortcode/machform-shortcode.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
4 plugin tags: machform, shortcode, appnitro, forms
machform-shortcode/machform-shortcode.php Passed 13 tests
Analyzing the main PHP file in "MachForm Shortcode" version 1.4.1
106 characters long description:
Creates a shortcode for inserting Machform forms into your posts or pages (only tested with MachForm 3.5+)
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
No dangerous file extensions were detected182 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 54 | 54 | 181 |
HTML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
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 | 4 | |
▷ Named functions | 4 | 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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin