Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.16ms] Passed 4 tests
Server-side resources used by BP Event Manager
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 39.62 ▲0.79 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.01 ▼6.95 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.51 ▲1.34 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 83.28 ▼6.69 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.24 ▲0.22 |
Server storage [IO: ▲1.90MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 76 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_all_events |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for BP Event Manager
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.26 ▼1.12 | 1.75 ▲0.03 | 43.22 ▼5.92 |
Dashboard /wp-admin | 2,203 ▲12 | 5.85 ▼0.05 | 95.54 ▼9.16 | 36.99 ▼2.21 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.04 ▼0.01 | 35.41 ▲0.82 | 31.05 ▼0.15 |
Add New Post /wp-admin/post-new.php | 1,535 ▲21 | 23.06 ▲5.56 | 613.71 ▼80.54 | 55.70 ▼7.34 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.23 ▲0.04 | 96.96 ▼1.95 | 42.93 ▼1.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_all_events
Smoke tests 50% 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 0% 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
Please take a closer look at the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/bp-event-manager/bp-event-manager.php
- 17× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/bp-event-manager/bpem-front/bpem-event-further-details.php:45
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bp-event-manager/bpem-front/bpem-event-calendar.php:57
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bp-event-manager/bpem-front/bpem_event_update_response.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/bp-event-manager/bpem-front/bpem-user-can-events.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/bp-event-manager/bpem-front/bpem_google_map.php:65
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bp-event-manager/bpem-dash/bpem-admin-settings-page.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/bp-event-manager/bpem-front/bpem_event_info.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _x() in wp-content/plugins/bp-event-manager/bpem-dash/bpem-post-type.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bp-event-manager/bpem-front/bpem-event-form.php:33
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bp-event-manager/bpem-front/bpem_leave_event.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Screenshots: A description for screenshot #7 is required in bp-event-manager/assets to your readme.txt
bp-event-manager/bp-event-manager.php Passed 13 tests
The entry point to "BP Event Manager" version 1.1.0 is a PHP file that has certain tags in its header comment area
83 characters long description:
Plug and Play Plugin Development. A person can create events for buddypress groups.
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 detected11,560 lines of code in 64 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 9 | 110 | 64 | 3,038 |
SVG | 1 | 0 | 0 | 2,671 |
LESS | 14 | 34 | 44 | 1,758 |
Sass | 13 | 30 | 32 | 1,740 |
PHP | 21 | 8,192 | 317 | 1,589 |
JavaScript | 5 | 135 | 69 | 652 |
PO File | 1 | 33 | 34 | 112 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 6.50 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 19 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 18 | 94.74% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 5.26% |
Functions | 29 | |
▷ Named functions | 29 | 100.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
PNG images were not found in this plugin