Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼1.26MB] [CPU: ▼55.18ms] Passed 4 tests
A check of server-side resources used by Bonaire
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 38.82 ▼6.64 |
Dashboard /wp-admin | 2.69 ▼0.65 | 10.12 ▼55.33 |
Posts /wp-admin/edit.php | 2.70 ▼0.66 | 8.69 ▼42.94 |
Add New Post /wp-admin/post-new.php | 2.69 ▼3.19 | 10.47 ▼92.80 |
Media Library /wp-admin/upload.php | 2.70 ▼0.53 | 8.25 ▼29.65 |
Server storage [IO: ▲1.84MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 83 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
bonaire_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Bonaire
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,872 ▲126 | 14.86 ▲0.66 | 1.90 ▲0.15 | 44.57 ▲1.87 |
Dashboard /wp-admin | 2,278 ▲93 | 6.51 ▲0.61 | 123.08 ▲23.55 | 36.82 ▼1.40 |
Posts /wp-admin/edit.php | 2,091 ▲2 | 2.06 ▲0.06 | 45.14 ▲8.03 | 33.94 ▲0.58 |
Add New Post /wp-admin/post-new.php | 1,516 ▼4 | 23.15 ▼0.27 | 616.53 ▼77.31 | 37.96 ▼17.66 |
Media Library /wp-admin/upload.php | 1,393 ▲11 | 4.09 ▼0.12 | 82.64 ▼25.02 | 41.57 ▼1.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Uninstall procedure had uncaught errors
- > Warning in wp-content/plugins/bonaire/admin/includes/class-mail.php+17
include(wp-content/plugins/bonaire/../contact-form-7/includes/swv/schema-holder.php): failed to open stream: No such file or directory
- The uninstall procedure has failed, leaving 7 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- bonaire_options
- can_compress_scripts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
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)
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Contributors: Plugin contributors not specified
bonaire/bonaire.php Passed 13 tests
The principal PHP file in "Bonaire" v. 0.1.1 is loaded by WordPress automatically on each request
75 characters long description:
A very simple email client for Contact Form 7 in combination with Flamingo.
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
Good job! No executable or dangerous file extensions detected15,425 lines of code in 62 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 12 | 1,721 | 3,343 | 7,061 |
PHP | 27 | 1,130 | 2,673 | 3,696 |
CSS | 16 | 400 | 112 | 3,419 |
PO File | 1 | 359 | 702 | 763 |
Markdown | 6 | 129 | 0 | 486 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 18.92 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 121.00 |
Average method complexity | 3.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 25 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 25 | 100.00% |
▷ Final classes | 4 | 16.00% |
Methods | 221 | |
▷ Static methods | 13 | 5.88% |
▷ Public methods | 116 | 52.49% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 105 | 47.51% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin