Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
You still need to fix the following installer errors
- Install procedure had errors
- > Notice in wp-content/plugins/promissa/shortcodes/corona.php+2
date_default_timezone_set(): Timezone ID '' is invalid
Server metrics [RAM: ▼1.87MB] [CPU: ▼57.18ms] Passed 4 tests
Server-side resources used by Pro Missa
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.13 ▼1.34 | 10.95 ▼30.64 |
Dashboard /wp-admin | 2.15 ▼1.20 | 7.94 ▼54.49 |
Posts /wp-admin/edit.php | 2.15 ▼1.21 | 8.75 ▼41.12 |
Add New Post /wp-admin/post-new.php | 2.15 ▼3.74 | 7.81 ▼102.46 |
Media Library /wp-admin/upload.php | 2.15 ▼1.08 | 7.19 ▼29.23 |
Pro Missa /wp-admin/options-general.php?page=promissa | 2.15 | 7.69 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 17 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_promissa_widget_upcoming_masses |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Pro Missa
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲63 | 14.38 ▼0.25 | 2.36 ▲0.70 | 42.95 ▲1.92 |
Dashboard /wp-admin | 2,210 ▲36 | 5.65 ▼0.03 | 89.65 ▼1.06 | 42.55 ▼2.51 |
Posts /wp-admin/edit.php | 2,115 ▲15 | 2.00 ▼0.02 | 36.43 ▼1.88 | 32.63 ▼2.55 |
Add New Post /wp-admin/post-new.php | 1,540 ▲12 | 22.95 ▼0.10 | 683.17 ▲18.38 | 65.17 ▲12.53 |
Media Library /wp-admin/upload.php | 1,412 ▲12 | 4.23 ▲0.07 | 113.90 ▲9.99 | 46.41 ▲3.11 |
Pro Missa /wp-admin/options-general.php?page=promissa | 898 | 2.05 | 30.55 | 30.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/promissa/shortcodes/corona.php+2
date_default_timezone_set(): Timezone ID '' is invalid
- This plugin did not uninstall successfully, leaving 7 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_promissa_widget_upcoming_masses
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=promissa
- > Notice in wp-content/plugins/promissa/shortcodes/corona.php+2
date_default_timezone_set(): Timezone ID '' is invalid
- > GET request to /wp-admin/options-general.php?page=promissa
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, function 'add_ob_start' not found or invalid function name
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=promissa
- > Notice in wp-content/plugins/promissa/admin/settings.php+80
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 9× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/promissa/shortcodes/calendar.php:274
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/promissa/shortcodes/corona.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_locale() in wp-content/plugins/promissa/promissa.php:30
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/promissa/widgets/upcoming_mass.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/promissa/shortcodes/upcoming_mass.php:148
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/promissa/widgets/corona.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/promissa/shortcodes/form.php:238
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/promissa/shortcodes/intentions.php:229
- > PHP Fatal error
Uncaught Error: Class 'IntlDateFormatter' not found in wp-content/plugins/promissa/shortcodes/intentions_from.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
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: vieringen, kerk, ledenadministratie, mistijden, kerkgebouwen...
promissa/promissa.php Passed 13 tests
The primary PHP file in "Pro Missa" version 1.4.1 is used by WordPress to initiate all plugin functionality
96 characters long description:
This plugin will give you shortcodes and widgets with the latest masses and events of Pro Missa.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected2,689 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 268 | 280 | 2,488 |
PO File | 1 | 174 | 317 | 199 |
CSS | 1 | 0 | 0 | 1 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 37.00 |
▷ Minimum class complexity | 35.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 5.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.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 | 22 | |
▷ Static methods | 14 | 63.64% |
▷ Public methods | 17 | 77.27% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 22.73% |
Functions | 59 | |
▷ Named functions | 57 | 96.61% |
▷ Anonymous functions | 2 | 3.39% |
Constants | 8 | |
▷ Global constants | 8 | 100.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