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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼8.37ms] Passed 4 tests
Analyzing server-side resources used by Buddypress xProfile Rich Text Field
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 42.48 ▲0.03 |
Dashboard /wp-admin | 3.31 ▲0.00 | 50.45 ▼0.55 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.93 ▼6.45 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 84.04 ▼22.98 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.48 ▼3.49 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Buddypress xProfile Rich Text Field
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.63 ▼0.74 | 1.77 ▼0.01 | 39.91 ▼5.32 |
Dashboard /wp-admin | 2,203 ▲15 | 5.83 ▲0.78 | 105.92 ▼0.00 | 44.37 ▲0.90 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.00 ▲0.00 | 37.00 ▼5.21 | 40.15 ▲4.56 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.11 ▼0.33 | 633.32 ▼66.00 | 56.77 ▲2.20 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.15 ▼0.05 | 97.00 ▼12.50 | 44.40 ▼1.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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
Almost there! Just fix the following items
- 2× 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/bp-xprofile-rich-text-field/buddypress-xprofile-rich-text-field.php:588
- > PHP Fatal error
Uncaught Error: Class 'BP_XProfile_Field_Type' not found in wp-content/plugins/bp-xprofile-rich-text-field/buddypress-xprofile-rich-text-field-class.php:8
- > 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 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: tinymce, xprofile, field, buddypress, editor
bp-xprofile-rich-text-field/buddypress-xprofile-rich-text-field.php 92% from 13 tests
Analyzing the main PHP file in "Buddypress xProfile Rich Text Field" version 0.2.5
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("bp-xprofile-rich-text-field.php" instead of "buddypress-xprofile-rich-text-field.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin301 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 211 | 250 | 263 |
CSS | 1 | 3 | 0 | 20 |
JavaScript | 1 | 20 | 7 | 18 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 2.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 17 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin