Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- The plugin cannot be installed
- > Error in wp-content/plugins/event-organiser-ngo/event-organiser-ngo.php+63
Uncaught Error: Call to undefined function wp_get_sites() in wp-content/plugins/event-organiser-ngo/event-organiser-ngo.php:63
Stack trace:
#0 wp-includes/class-wp-hook.php(310): eongo_set_auth()
#1 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#2 wp-includes/plugin.php(517): WP_Hook->do_action()
#3 wp-admin/includes/plugin.php(693): do_action()
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.54ms] Passed 4 tests
A check of server-side resources used by Event Organiser NGO
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 40.19 ▼2.23 |
Dashboard /wp-admin | 3.30 ▲0.00 | 55.54 ▲9.61 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 43.95 ▼5.26 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 84.78 ▼6.09 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.53 ▲3.43 |
Server storage [IO: ▲0.06MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Event Organiser NGO
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲43 | 13.24 ▼1.14 | 1.70 ▼0.35 | 44.46 ▼2.72 |
Dashboard /wp-admin | 2,206 ▲15 | 5.79 ▲0.90 | 100.91 ▼7.29 | 39.36 ▼2.64 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▼0.05 | 36.83 ▼4.25 | 34.34 ▲0.32 |
Add New Post /wp-admin/post-new.php | 1,517 ▼19 | 17.85 ▼5.35 | 607.29 ▼72.32 | 60.02 ▲4.33 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.17 ▼0.02 | 101.92 ▼7.50 | 42.06 ▼0.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
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
Good news, no errors were detected
SRP 50% from 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
Please fix the following items
- 3× 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/event-organiser-ngo/includes/event-organiser-portal.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/event-organiser-ngo/includes/event-organiser-portal_cal.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/event-organiser-ngo/includes/event-organiser-sites.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Screenshots: Please add an image for screenshot #1 (After installing the plugin you will get two extra tickboxes at the member sites. The top one is to show the member sites event in the portal calendar.)
- Screenshots: A description for screenshot #0 is missing in event-organiser-ngo/assets to your readme.txt
event-organiser-ngo/event-organiser-ngo.php 92% from 13 tests
The primary PHP file in "Event Organiser NGO" version 1.2.4 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 224 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected941 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 144 | 121 | 748 |
PO File | 1 | 36 | 57 | 102 |
CSS | 1 | 25 | 24 | 91 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 21.67 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 6.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 32 | |
▷ Named functions | 32 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin