Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > Warning in wp-content/plugins/edublogify-contact-form/edublogify-contact-form.php+143
count(): Parameter must be an array or an object that implements Countable
Server metrics [RAM: ▲0.00MB] [CPU: ▼151.79ms] Passed 4 tests
An overview of server-side resources used by Edublogify Contact form
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.01 | 22.32 ▼0.76 |
Dashboard /wp-admin | 3.07 ▲0.00 | 32.52 ▼11.84 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 29.93 ▼5.66 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.01 | 69.65 ▼588.88 |
Media Library /wp-admin/upload.php | 3.01 ▲0.01 | 30.78 ▲9.00 |
Shortcode /wp-admin/admin.php?page=ecf-Shortcode | 2.98 | 19.35 |
Setting /wp-admin/admin.php?page=ecf-setting | 2.98 | 19.35 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 12 new files
Database: 1 new table, no new options
New tables |
---|
edu_ecf_table |
Browser metrics Passed 4 tests
Edublogify Contact form: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,698 ▲97 | 15.95 ▲0.29 | 4.97 ▲0.02 | 78.72 ▲4.88 |
Dashboard /wp-admin | 2,961 ▲65 | 6.09 ▼0.08 | 115.83 ▼23.06 | 165.38 ▼3.82 |
Posts /wp-admin/edit.php | 2,772 ▲32 | 3.23 ▲0.00 | 64.19 ▲0.68 | 136.52 ▼4.48 |
Add New Post /wp-admin/post-new.php | 3,840 ▲105 | 19.27 ▲1.37 | 447.97 ▼3.15 | 158.14 ▼8.59 |
Media Library /wp-admin/upload.php | 1,782 ▲30 | 5.50 ▼0.03 | 140.83 ▲3.27 | 189.30 ▲6.63 |
Shortcode /wp-admin/admin.php?page=ecf-Shortcode | 1,049 | 2.41 | 53.15 | 98.19 |
Setting /wp-admin/admin.php?page=ecf-setting | 1,078 | 2.33 | 53.07 | 134.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Uninstall procedure had uncaught errors
- > Warning in wp-content/plugins/edublogify-contact-form/edublogify-contact-form.php+165
Use of undefined constant edu_ecf_table - assumed 'edu_ecf_table' (this will throw an Error in a future version of PHP)
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/edublogify-contact-form/edublogify-contact-form.php:61
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 97% 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
These attributes need your attention:
- Requires php: Version not formatted correctly
edublogify-contact-form/edublogify-contact-form.php Passed 13 tests
The principal PHP file in "Edublogify Contact form" v. 1.0.1 is loaded by WordPress automatically on each request
75 characters long description:
Edublogify Contact Form for WordPress. A simple way to create Contact form.
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
No dangerous file extensions were detected206 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 30 | 35 | 106 |
CSS | 1 | 0 | 0 | 100 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.05 |
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 | 7 | |
▷ Named functions | 7 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected