Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼5.59ms] Passed 4 tests
An overview of server-side resources used by BuddyPress Extended Profile Translation
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 37.47 ▼15.35 |
Dashboard /wp-admin | 3.34 ▲0.04 | 45.65 ▼8.35 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 53.78 ▲3.64 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 88.19 ▼2.29 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 39.52 ▲4.33 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by BuddyPress Extended Profile Translation
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.21 ▼0.08 | 1.82 ▲0.09 | 40.43 ▼5.12 |
Dashboard /wp-admin | 2,198 ▲18 | 5.64 ▼0.01 | 95.83 ▲2.44 | 42.65 ▲4.05 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.95 ▼0.02 | 38.58 ▼2.74 | 35.64 ▼1.81 |
Add New Post /wp-admin/post-new.php | 1,533 ▲5 | 23.19 ▲0.08 | 660.41 ▼32.91 | 55.00 ▲4.29 |
Media Library /wp-admin/upload.php | 1,403 ▲9 | 4.24 ▲0.03 | 111.66 ▲11.06 | 44.05 ▼0.78 |
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
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/buddypress-extended-profile-translation/includes/admin-xprofile.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/buddypress-extended-profile-translation/includes/admin-xprofile.php:3
- > PHP Fatal error
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 Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: bp_enable_multiblog, multilingual, localization, multisite, buddypress...
buddypress-extended-profile-translation/buddypress-extended-profile-translation.php Passed 13 tests
The entry point to "BuddyPress Extended Profile Translation" version 1.0 is a PHP file that has certain tags in its header comment area
54 characters long description:
Multilingual Extended Profiles in multisite BuddyPress
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
Success! There were no dangerous files found in this plugin241 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 35 | 11 | 178 |
CSS | 1 | 0 | 0 | 63 |
PHP code Passed 2 tests
Analyzing 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.60 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 5 | 71.43% |
▷ Anonymous functions | 2 | 28.57% |
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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin