Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼142.27ms] Passed 4 tests
Analyzing server-side resources used by LH Buddypress Export Xprofile Data
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.87 ▲0.15 | 32.54 ▲10.29 |
Dashboard /wp-admin | 3.09 ▲0.04 | 34.82 ▼6.09 |
Posts /wp-admin/edit.php | 3.14 ▲0.04 | 44.12 ▲3.78 |
Add New Post /wp-admin/post-new.php | 5.46 ▲0.02 | 91.33 ▼560.47 |
Media Library /wp-admin/upload.php | 3.03 ▲0.03 | 33.52 ▼6.31 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for LH Buddypress Export Xprofile Data
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲108 | 15.79 ▲0.26 | 8.59 ▼0.88 | 48.34 ▲0.33 |
Dashboard /wp-admin | 2,970 ▲39 | 5.89 ▼0.05 | 138.10 ▼5.32 | 107.31 ▼7.29 |
Posts /wp-admin/edit.php | 2,736 ▼3 | 2.69 ▲0.01 | 69.24 ▲5.14 | 90.55 ▼10.60 |
Add New Post /wp-admin/post-new.php | 1,872 ▲182 | 19.18 ▲0.28 | 371.60 ▼2.18 | 112.82 ▲5.98 |
Media Library /wp-admin/upload.php | 1,804 ▼3 | 5.02 ▼0.01 | 155.76 ▼3.83 | 113.24 ▼20.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled successfully, without leaving any zombie files or tables
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 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× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/lh-buddypress-export-xprofile-data/lh-buddypress-export-xprofile-data.php:252
- > 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)
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: csv, users, buddypress, export, xprofile
lh-buddypress-export-xprofile-data/lh-buddypress-export-xprofile-data.php 92% from 13 tests
The main PHP script in "LH Buddypress Export Xprofile Data" version 2.00 is automatically included on every request by WordPress
The following require your attention:
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
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
Good job! No executable or dangerous file extensions detected336 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 73 | 47 | 149 |
JavaScript | 2 | 27 | 2 | 95 |
CSS | 2 | 18 | 0 | 92 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 17.00 |
▷ Minimum class complexity | 17.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 8 | |
▷ Static methods | 3 | 37.50% |
▷ Public methods | 8 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin