Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▼2.27ms] Passed 4 tests
This is a short check of server-side resources used by Never Loose Contact Form
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.14 | 44.58 ▼3.00 |
Dashboard /wp-admin | 3.45 ▲0.14 | 53.49 ▼0.59 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 56.73 ▲2.09 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 93.48 ▼7.59 |
Media Library /wp-admin/upload.php | 3.38 ▲0.14 | 46.29 ▲9.82 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 10 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_contact_form |
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_never_loose_contact_form_widget |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Never Loose Contact Form
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,901 ▲140 | 18.63 ▲4.43 | 1.71 ▼0.67 | 42.64 ▼5.00 |
Dashboard /wp-admin | 2,294 ▲117 | 9.40 ▲3.86 | 232.95 ▲138.67 | 42.42 ▼1.57 |
Posts /wp-admin/edit.php | 2,210 ▲110 | 8.89 ▲6.89 | 81.77 ▲43.12 | 38.57 ▲6.57 |
Add New Post /wp-admin/post-new.php | 6,203 ▲4,677 | 19.16 ▼4.09 | 787.22 ▲105.58 | 40.14 ▼18.01 |
Media Library /wp-admin/upload.php | 1,517 ▲117 | 11.13 ▲6.90 | 147.23 ▲40.03 | 47.35 ▲2.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_contact_form
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-posts
- widget_never_loose_contact_form_widget
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/never-loose-contact-form/index.php
- 1× 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/never-loose-contact-form/widget.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 90% 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:
- Donate link: Invalid URI found ("")
- Screenshots: These screenshots do not have images: #1 (List of messages), #2 (Look at the complete message in the admin area)
never-loose-contact-form/index.php 92% from 13 tests
The principal PHP file in "Never Loose Contact Form" v. 3.2.0 is loaded by WordPress automatically on each request
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("never-loose-contact-form.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin667 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 93 | 63 | 495 |
PO File | 1 | 32 | 32 | 85 |
JavaScript | 1 | 11 | 26 | 54 |
CSS | 1 | 1 | 5 | 33 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 25 | |
▷ Named functions | 25 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.07MB with 0.04MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 30.40KB | 12.13KB | ▼ 60.09% |
screenshot-2.png | 43.89KB | 16.92KB | ▼ 61.46% |