Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼187.16ms] Passed 4 tests
Server-side resources used by Fix Forum Emails
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.01 | 26.95 ▲5.42 |
Dashboard /wp-admin | 3.06 ▲0.00 | 36.77 ▲0.31 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 32.06 ▲2.48 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.01 | 69.50 ▼749.81 |
Media Library /wp-admin/upload.php | 3.01 ▲0.01 | 22.31 ▼1.63 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Fix Forum Emails
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,691 ▲90 | 15.96 ▲0.31 | 6.81 ▲1.93 | 82.51 ▲8.57 |
Dashboard /wp-admin | 2,930 ▲31 | 6.11 ▼0.14 | 120.96 ▼10.80 | 165.76 ▼7.21 |
Posts /wp-admin/edit.php | 2,737 ▼6 | 3.23 ▼0.00 | 64.23 ▼0.71 | 137.55 ▲0.39 |
Add New Post /wp-admin/post-new.php | 3,917 ▲175 | 18.70 ▲0.15 | 438.37 ▲8.40 | 156.25 ▼5.98 |
Media Library /wp-admin/upload.php | 1,755 ▼0 | 5.54 ▼0.01 | 139.55 ▲0.81 | 184.20 ▲0.08 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstall script ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% 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
These attributes need to be fixed:
- Plugin Name: Please specify the plugin name on the first line (
=== fix-forum-emails ===
)
fix-forum-emails/fix-forum-emails.php Passed 13 tests
The primary PHP file in "Fix Forum Emails" version 1.0 is used by WordPress to initiate all plugin functionality
92 characters long description:
Fixes unwanted HTML entities in bbPress notification email subject lines and message bodies.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected239 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 100 | 159 | 239 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 2.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 8 | |
▷ Static methods | 2 | 25.00% |
▷ Public methods | 6 | 75.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 25.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 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
PNG images were not found in this plugin