Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▼0.56MB] [CPU: ▼9.49ms] Passed 4 tests
An overview of server-side resources used by Ledenbeheer
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 44.64 ▲10.50 |
Dashboard /wp-admin | 3.44 ▲0.10 | 50.72 ▼8.26 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 54.77 ▲7.15 |
Add New Post /wp-admin/post-new.php | 3.30 ▼2.58 | 41.85 ▼43.01 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 42.67 ▲6.15 |
Ledenbeheer /wp-admin/admin.php?page=ledenbeheer | 3.38 | 37.30 |
Instellingen /wp-admin/options-general.php?page=ledenbeheer | 3.38 | 37.47 |
Server storage [IO: ▲0.12MB] [DB: ▲0.08MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 35 new files
Database: no new tables, 26 new options
New WordPress options |
---|
lb_status |
widget_theysaidso_widget |
lb_sync_profiles |
lb_main_courses_page |
lb_courses_display |
lb_club_nid |
widget_recent-comments |
lb_sync_activities |
lb_filter_profiles |
lb_main_activities_page |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Ledenbeheer
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,847 ▲101 | 14.24 ▼0.11 | 1.70 ▲0.12 | 42.63 ▲3.99 |
Dashboard /wp-admin | 2,244 ▲73 | 5.56 ▼0.01 | 84.33 ▼5.83 | 38.98 ▲0.30 |
Posts /wp-admin/edit.php | 2,146 ▲46 | 2.01 ▲0.06 | 40.84 ▲3.84 | 37.36 ▲0.23 |
Add New Post /wp-admin/post-new.php | 1,566 ▲38 | 22.90 ▲0.12 | 647.15 ▼16.62 | 55.51 ▲3.06 |
Media Library /wp-admin/upload.php | 1,446 ▲46 | 4.28 ▲0.07 | 95.57 ▼21.50 | 40.93 ▼3.33 |
Ledenbeheer /wp-admin/admin.php?page=ledenbeheer | 1,278 | 2.30 | 23.04 | 32.61 |
Instellingen /wp-admin/options-general.php?page=ledenbeheer | 1,275 | 2.13 | 23.37 | 30.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.08MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options detected upon uninstall: 26 options
- lb_course_fields
- lb_syncing
- lb_main_profiles_page
- widget_recent-comments
- widget_recent-posts
- lb_sync_profiles
- lb_skip_activity_detail
- lb_main_activities_page
- lb_profile_fields
- lb_api_key
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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 fix the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/ledenbeheer-external-connection/ledenbeheer-external-connection.php
- 21× 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 get_header() in wp-content/plugins/ledenbeheer-external-connection/views/archive-activities.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_key() in wp-content/plugins/ledenbeheer-external-connection/templates/profiles-slug.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ledenbeheer-external-connection/src/activities.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/ledenbeheer-external-connection/views/courses/show.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/ledenbeheer-external-connection/views/archive-profiles.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ledenbeheer-external-connection/setup.php:18
- > PHP Warning
require_once(ABSPATHwp-admin/includes/user.php): failed to open stream: No such file or directory in wp-content/plugins/ledenbeheer-external-connection/src/profiles.php on line 2
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/user.php' (include_path='.:/usr/share/php') in wp-content/plugins/ledenbeheer-external-connection/src/profiles.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/ledenbeheer-external-connection/views/single-activity.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ledenbeheer-external-connection/crons.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
No plugin tags provided
ledenbeheer-external-connection/ledenbeheer-external-connection.php Passed 13 tests
"Ledenbeheer" version 2.0.9's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
41 characters long description:
Koppeling tussen Wordpress en Ledenbeheer
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin2,748 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 22 | 281 | 116 | 2,461 |
CSS | 3 | 36 | 0 | 191 |
PO File | 1 | 19 | 15 | 54 |
JavaScript | 2 | 7 | 0 | 42 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
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 | 81 | |
▷ Named functions | 65 | 80.25% |
▷ Anonymous functions | 16 | 19.75% |
Constants | 9 | |
▷ Global constants | 1 | 11.11% |
▷ Class constants | 8 | 88.89% |
▷ Public constants | 8 | 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
3 compressed PNG files occupy 0.01MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/logo.png | 4.17KB | 2.89KB | ▼ 30.68% |
assets/img/marker-icon.png | 1.43KB | 1.55KB | 0.00% |
assets/img/marker-shadow.png | 0.60KB | 1.16KB | 0.00% |