Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.29ms] Passed 4 tests
Analyzing server-side resources used by BP Delegated XProfile
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.56 ▲1.63 |
Dashboard /wp-admin | 3.31 ▲0.00 | 46.89 ▼3.17 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.61 ▲0.65 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 84.55 ▼13.02 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.13 ▼1.60 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for BP Delegated XProfile
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.15 ▼1.27 | 1.82 ▲0.14 | 42.83 ▼1.32 |
Dashboard /wp-admin | 2,209 ▲20 | 5.06 ▲0.14 | 106.82 ▼5.43 | 40.83 ▼4.70 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.04 ▲0.04 | 34.22 ▼4.61 | 33.74 ▼0.88 |
Add New Post /wp-admin/post-new.php | 1,534 ▼2 | 23.30 ▲0.02 | 668.98 ▲3.94 | 56.13 ▼3.69 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.20 ▲0.03 | 96.83 ▼3.08 | 42.55 ▼2.46 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Requires at least: Invalid plugin version format
bp-delegated-xprofile/bp-delegated-xprofile.php 85% from 13 tests
The principal PHP file in "BP Delegated XProfile" v. 0.1.1 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Domain Path: The domain path folder does not exist ("/languages")
- Requires at least: Periods and digits should be used for the required version number (ex. "7.0" instead of "(?:WordPress|WP)?\s*([0-9.]+)(?:\s*\/\s*(?:BuddyPress|BP)?\s*([0-9.]+))?$/i', $line, $m );")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin235 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 40 | 216 | 231 |
Markdown | 1 | 3 | 0 | 4 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 36.00 |
▷ Minimum class complexity | 36.00 |
▷ Maximum class complexity | 36.00 |
Average method complexity | 2.84 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.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 | 19 | |
▷ Static methods | 19 | 100.00% |
▷ Public methods | 19 | 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 | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.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 were not PNG files found in your plugin