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.52MB] [CPU: ▼0.73ms] Passed 4 tests
A check of server-side resources used by Crowdsignal Forms
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.90 ▲0.43 | 44.05 ▲2.83 |
Dashboard /wp-admin | 3.85 ▲0.55 | 52.67 ▼3.43 |
Posts /wp-admin/edit.php | 3.90 ▲0.54 | 53.58 ▲5.52 |
Add New Post /wp-admin/post-new.php | 6.56 ▲0.68 | 92.96 ▼7.84 |
Media Library /wp-admin/upload.php | 3.77 ▲0.54 | 41.23 ▲6.76 |
Crowdsignal /wp-admin/options-general.php?page=crowdsignal-settings | 3.69 | 44.33 |
Server storage [IO: ▲0.68MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 85 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
crowdsignal_api_key_secret |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Crowdsignal Forms
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲55 | 14.39 ▲0.18 | 1.86 ▲0.11 | 44.89 ▲5.65 |
Dashboard /wp-admin | 2,216 ▲42 | 5.59 ▼0.01 | 84.45 ▼9.12 | 39.24 ▼4.12 |
Posts /wp-admin/edit.php | 2,110 ▲7 | 2.03 ▲0.04 | 38.93 ▲0.87 | 34.17 ▼4.00 |
Add New Post /wp-admin/post-new.php | 6,201 ▲4,661 | 26.38 ▲3.67 | 953.00 ▲282.36 | 83.07 ▲28.49 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.27 ▲0.06 | 97.02 ▼12.99 | 45.39 ▼3.09 |
Crowdsignal /wp-admin/options-general.php?page=crowdsignal-settings | 885 | 2.18 | 28.14 | 42.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- crowdsignal_api_key_secret
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Interface 'Crowdsignal_Forms\\Auth\\Api_Auth_Provider_Interface' not found in wp-content/plugins/crowdsignal-forms/includes/auth/class-default-api-auth-provider.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/crowdsignal-forms/includes/admin/views/html-admin-settings.php:12
- > 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 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
5 plugin tags: polls, forms, surveys, block, gutenberg
crowdsignal-forms/crowdsignal-forms.php Passed 13 tests
The main PHP script in "Crowdsignal Forms" version 1.7.0 is automatically included on every request by WordPress
23 characters long description:
Crowdsignal Form Blocks
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin4,565 lines of code in 77 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 56 | 826 | 2,808 | 3,680 |
CSS | 14 | 137 | 7 | 872 |
JavaScript | 7 | 0 | 1 | 13 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 9.03 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 35.00 |
Average method complexity | 2.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 10 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 34 | |
▷ Abstract classes | 1 | 2.94% |
▷ Concrete classes | 33 | 97.06% |
▷ Final classes | 1 | 3.03% |
Methods | 270 | |
▷ Static methods | 34 | 12.59% |
▷ Public methods | 219 | 81.11% |
▷ Protected methods | 11 | 4.07% |
▷ Private methods | 40 | 14.81% |
Functions | 4 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 4 | 100.00% |
Constants | 32 | |
▷ Global constants | 3 | 9.38% |
▷ Class constants | 29 | 90.62% |
▷ Public constants | 29 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin