Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▼0.30MB] [CPU: ▼16.78ms] Passed 4 tests
Analyzing server-side resources used by bbPress - Private Replies
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 33.92 ▼4.30 |
Dashboard /wp-admin | 3.36 ▲0.05 | 46.41 ▼4.54 |
Posts /wp-admin/edit.php | 3.33 ▼0.03 | 39.72 ▼11.37 |
Add New Post /wp-admin/post-new.php | 4.65 ▼1.24 | 43.73 ▼46.91 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 34.86 ▼1.01 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
recovery_mode_email_last_sent |
Browser metrics Passed 4 tests
A check of browser resources used by bbPress - Private Replies
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,675 ▼60 | 13.32 ▼1.35 | 1.13 ▼0.67 | 18.89 ▼30.18 |
Dashboard /wp-admin | 2,209 ▲21 | 4.87 ▲0.01 | 111.12 ▼6.42 | 44.03 ▲1.21 |
Posts /wp-admin/edit.php | 1,076 ▼1,013 | 1.14 ▼0.86 | 8.15 ▼29.66 | 32.80 ▼1.31 |
Add New Post /wp-admin/post-new.php | 45 ▼1,497 | 0.44 ▼17.77 | 0.08 ▼627.04 | 12.32 ▼38.30 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.25 ▲0.02 | 97.20 ▲1.20 | 69.87 ▲26.52 |
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
The following items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- recovery_mode_email_last_sent
Smoke tests 75% 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 50% 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
The following issues need your attention
- 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/bbpress-private-replies/bbp-private-replies.php:35
- > 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 86% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
9 plugin tags: replies, pippinsplugins, bbpress, forums, mordauk...
bbpress-private-replies/bbp-private-replies.php 69% from 13 tests
This is the main PHP file of "bbPress - Private Replies" version 1.3.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
- Domain Path: Note that the domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("languages")
- Domain Path: Prefix the domain path with a forward slash character ("/languages")
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("bbpress-private-replies.php" instead of "bbp-private-replies.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected264 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 80 | 147 | 132 |
PO File | 5 | 21 | 31 | 129 |
CSS | 1 | 1 | 3 | 3 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 30.00 |
▷ Minimum class complexity | 30.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 3.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.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 | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected