Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.89ms] Passed 4 tests
Server-side resources used by bbPress Contacts
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.40 ▼0.06 | 24.88 ▼15.32 |
Dashboard /wp-admin | 3.33 ▲0.03 | 45.74 ▼0.51 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 45.29 ▼2.60 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 84.64 ▼1.13 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 33.09 ▲1.05 |
bbPress Contacts /wp-admin/options-general.php?page=bbp-contacts | 3.30 | 34.20 |
/wp-admin/admin.php?page=bbp-contacts-about | 3.22 | 28.66 |
/wp-admin/admin.php?page=bbp-contacts-translate | 3.22 | 30.71 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for bbPress Contacts
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,469 ▼277 | 13.21 ▼1.54 | 0.62 ▼1.22 | 16.01 ▼31.86 |
Dashboard /wp-admin | 2,210 ▲18 | 4.84 ▼0.31 | 105.28 ▼2.82 | 42.10 ▲0.73 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.05 ▲0.06 | 36.28 ▼3.93 | 32.74 ▼2.13 |
Add New Post /wp-admin/post-new.php | 1,541 ▲7 | 23.49 ▲0.40 | 667.08 ▲31.95 | 61.29 ▲11.88 |
Media Library /wp-admin/upload.php | 1,392 ▲10 | 4.17 ▼0.05 | 107.60 ▼4.90 | 50.14 ▲5.91 |
bbPress Contacts /wp-admin/options-general.php?page=bbp-contacts | 863 | 2.02 | 26.71 | 29.41 |
/wp-admin/admin.php?page=bbp-contacts-about | 842 | 2.03 | 22.62 | 27.45 |
/wp-admin/admin.php?page=bbp-contacts-translate | 1,056 | 2.02 | 26.28 | 29.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 3× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/bbp-contacts/bbp-contacts.php
- > /wp-content/plugins/bbp-contacts/Includes/Admin/Loader.php
- > /wp-content/plugins/bbp-contacts/Includes/Admin/Screen.php
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 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Requires at least: Version format is invalid
- Tags: You are using too many tags: 11 tag instead of maximum 10
bbp-contacts/bbp-contacts.php Passed 13 tests
The entry point to "bbPress Contacts" version 0.2.1 is a PHP file that has certain tags in its header comment area
21 characters long description:
bbPress Contacts Tool
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
No dangerous file extensions were detected888 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 162 | 81 | 696 |
JavaScript | 1 | 8 | 0 | 106 |
CSS | 1 | 0 | 0 | 86 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
Average class complexity | 43.33 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 88.00 |
Average method complexity | 5.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 23 | 76.67% |
▷ Public methods | 30 | 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 | 4 | |
▷ Global constants | 3 | 75.00% |
▷ Class constants | 1 | 25.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin