Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼3.16ms] Passed 4 tests
Analyzing server-side resources used by Mailbuzz
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 39.25 ▼4.76 |
Dashboard /wp-admin | 3.38 ▲0.07 | 46.77 ▲0.81 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 45.85 ▼5.27 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 81.77 ▼3.43 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 40.23 ▲6.07 |
Server storage [IO: ▲1.64MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 32 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Mailbuzz
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,888 ▲127 | 13.49 ▼1.07 | 9.84 ▲8.08 | 47.42 ▲4.46 |
Dashboard /wp-admin | 2,208 ▲34 | 5.64 ▲0.08 | 96.78 ▲12.02 | 42.73 ▲1.23 |
Posts /wp-admin/edit.php | 2,119 ▲19 | 1.99 ▼0.04 | 34.24 ▼3.11 | 33.34 ▼2.64 |
Add New Post /wp-admin/post-new.php | 1,539 ▲13 | 23.34 ▲0.39 | 682.90 ▲33.16 | 54.50 ▲4.53 |
Media Library /wp-admin/upload.php | 1,419 ▲28 | 4.25 ▲0.03 | 98.33 ▼10.12 | 41.63 ▼6.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/mailbuzz/admin/partials/wp-react-plugin-boilerplate-admin-display.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function mailbuzz_get_options() in wp-content/plugins/mailbuzz/public/partials/mailbuzz-public-display.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
6 plugin tags: email marketing, email, rss, automation, mailbuzz...
mailbuzz/mailbuzz.php Passed 13 tests
The principal PHP file in "Mailbuzz" v. 1.0.0 is loaded by WordPress automatically on each request
30 characters long description:
Automate your email marketing.
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
Everything looks great! No dangerous files found in this plugin41,789 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 36,968 |
CSS | 5 | 916 | 4 | 4,353 |
PHP | 15 | 117 | 631 | 395 |
JavaScript | 2 | 12 | 1 | 73 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 1.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 28 | |
▷ Static methods | 2 | 7.14% |
▷ Public methods | 22 | 78.57% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 21.43% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
No PNG files were detected