Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼1.17ms] Passed 4 tests
A check of server-side resources used by Caag Forms
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 41.92 ▼1.55 |
Dashboard /wp-admin | 3.33 ▲0.03 | 55.35 ▲5.98 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 48.99 ▼0.55 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 97.24 ▼3.41 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 36.42 ▲0.85 |
Caag Forms /wp-admin/options-general.php?page=caag | 3.22 | 29.39 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 17 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
caag_forms_user_token |
caag_forms_tenant_token |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
caag_forms_user_api_base_url |
db_upgraded |
Browser metrics Passed 4 tests
Caag Forms: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲19 | 14.72 ▲0.38 | 1.99 ▲0.02 | 42.26 ▼0.22 |
Dashboard /wp-admin | 2,208 ▲40 | 5.53 ▼0.03 | 87.32 ▼14.26 | 39.42 ▼5.34 |
Posts /wp-admin/edit.php | 2,119 ▲19 | 2.01 ▲0.06 | 39.33 ▼0.52 | 35.48 ▼2.97 |
Add New Post /wp-admin/post-new.php | 1,539 ▲11 | 23.17 ▲0.37 | 602.98 ▼31.74 | 49.20 ▼1.30 |
Media Library /wp-admin/upload.php | 1,416 ▲16 | 4.23 ▲0.12 | 103.07 ▼9.73 | 46.09 ▼1.87 |
Caag Forms /wp-admin/options-general.php?page=caag | 868 | 2.14 | 29.44 | 31.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall successfully, leaving 9 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- caag_forms_tenant_token
- widget_recent-comments
- caag_forms_user_token
- caag_forms_user_api_base_url
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check 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 fix the following
- 11× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/caag-forms/modules/api/utils.php:117
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/caag-forms/modules/settings/settings.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/caag-forms/modules/api/utils.php:117
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/caag-forms/modules/custom-posts/caag-forms.php:53
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/caag-forms/modules/assets/init.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/caag-forms/modules/shortcodes/caag_form.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/caag-forms/modules/custom-posts/caag-forms.php:53
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/caag-forms/modules/settings/settings.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/caag-forms/modules/custom-posts/caag-forms.php:53
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/caag-forms/modules/shortcodes/caag_form.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% 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
Please fix the following attributes:
- Plugin Name: Please specify the plugin name on the first line (
=== caag-forms ===
) - Screenshots: These screenshots have no corresponding images in /assets: #1 (This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif). Note that the screenshot is taken from), #2 (This is the second screen shot)
caag-forms/caag-forms.php Passed 13 tests
The primary PHP file in "Caag Forms" version 2.0.4 is used by WordPress to initiate all plugin functionality
82 characters long description:
Use this plugin to easily add your Caag Software Forms into your Wordpress Website
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin508 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 53 | 133 | 408 |
CSS | 1 | 4 | 8 | 81 |
JavaScript | 3 | 2 | 15 | 17 |
Markdown | 1 | 3 | 0 | 2 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
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 | 24 | |
▷ Named functions | 24 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 17 | |
▷ Global constants | 17 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin