Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼6.27ms] Passed 4 tests
Analyzing server-side resources used by DPSG Stammesauswahl for Contact Form 7
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 43.75 ▼3.79 |
Dashboard /wp-admin | 3.35 ▲0.04 | 53.60 ▼1.23 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 57.29 ▲4.34 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 87.86 ▼19.51 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 38.91 ▼0.56 |
Stammesauswahl /wp-admin/options-general.php?page=cf7stammesauswahl_settings | 3.21 | 34.35 |
Server storage [IO: ▲0.10MB] [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: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by DPSG Stammesauswahl for Contact Form 7
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.42 ▲0.18 | 1.86 ▼0.20 | 49.14 ▲4.57 |
Dashboard /wp-admin | 2,202 ▲25 | 5.59 ▼0.05 | 87.10 ▼19.74 | 38.54 ▼6.04 |
Posts /wp-admin/edit.php | 2,104 ▲7 | 2.02 ▲0.07 | 41.07 ▲3.45 | 37.95 ▲1.89 |
Add New Post /wp-admin/post-new.php | 1,529 ▼8 | 23.01 ▲4.82 | 700.31 ▲28.67 | 55.38 ▼19.25 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.19 ▲0.08 | 104.57 ▲2.97 | 42.18 ▼1.63 |
Stammesauswahl /wp-admin/options-general.php?page=cf7stammesauswahl_settings | 939 | 2.15 | 27.93 | 34.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=cf7stammesauswahl_settings
- > Notice in wp-content/plugins/dpsg-stammesauswahl-for-contact-form-7/cf7stammesauswahl-settings.php+76
Trying to access array offset on value of type bool
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
- 2× 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/dpsg-stammesauswahl-for-contact-form-7/cf7stammesauswahl-settings.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/dpsg-stammesauswahl-for-contact-form-7/cf7stammesauswahl-settings.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
These are user-side errors you should fix
- > GET request to /wp-admin/options-general.php?page=cf7stammesauswahl_settings
- > Javascript (severe) in unknown
/wp-admin/options-general.php?page=cf7stammesauswahl_settings 0:0 Uncaught SyntaxError: Unexpected end of JSON input
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Plugin Name: Please specify the plugin name on the first line (
=== dpsg-stammesauswahl-for-contact-form-7 ===
)
dpsg-stammesauswahl-for-contact-form-7/cf7stammesauswahl.php 92% from 13 tests
This is the main PHP file of "DPSG Stammesauswahl for Contact Form 7" version 1.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("dpsg-stammesauswahl-for-contact-form-7.php" instead of "cf7stammesauswahl.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin414 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 49 | 3 | 303 |
PHP | 2 | 25 | 8 | 111 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
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 | 11 | |
▷ Named functions | 11 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin