Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼7.70ms] Passed 4 tests
Analyzing server-side resources used by ApiCheck Adres Aanvulling & Validatie voor Contact Form 7
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 41.00 ▲1.74 |
Dashboard /wp-admin | 3.38 ▲0.07 | 44.10 ▼3.33 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 43.55 ▼5.87 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 81.71 ▼19.35 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 35.44 ▼2.26 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for ApiCheck Adres Aanvulling & Validatie voor Contact Form 7
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,801 ▲40 | 14.72 ▲0.48 | 1.69 ▲0.17 | 43.61 ▲5.67 |
Dashboard /wp-admin | 2,204 ▲27 | 5.56 ▼0.09 | 84.96 ▼2.37 | 39.72 ▼0.75 |
Posts /wp-admin/edit.php | 2,112 ▲12 | 2.00 ▲0.02 | 34.07 ▼4.52 | 36.76 ▲2.79 |
Add New Post /wp-admin/post-new.php | 1,538 ▲12 | 23.18 ▲0.19 | 599.72 ▼73.84 | 45.87 ▼14.02 |
Media Library /wp-admin/upload.php | 1,409 ▲6 | 4.19 ▲0.06 | 105.47 ▼0.08 | 46.18 ▼3.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/apicheck-contact-form/back/apicheckcontactform_options_page.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/apicheck-contact-form/front/apicheckcontactform_search_call.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/apicheck-contact-form/front/apicheckcontactform_lookup_call.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4 in apicheck-contact-form/assets to your readme.txt
apicheck-contact-form/api-check.php 77% from 13 tests
The main PHP file in "ApiCheck Adres Aanvulling & Validatie voor Contact Form 7" ver. 1.1.1 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 205 characters long)
- Domain Path: The domain path folder was not found ("/languages/")
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("apicheck-contact-form.php" instead of "api-check.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin834 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 106 | 58 | 491 |
JavaScript | 2 | 32 | 27 | 192 |
CSS | 2 | 23 | 2 | 125 |
Markdown | 1 | 17 | 0 | 26 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 8.50 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 12 | |
▷ Global constants | 6 | 50.00% |
▷ Class constants | 6 | 50.00% |
▷ Public constants | 6 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/logo.png | 5.87KB | 3.51KB | ▼ 40.26% |