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.25MB] [CPU: ▼1.97ms] Passed 4 tests
A check of server-side resources used by Kerk en IT Parish
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.71 ▲0.25 | 36.67 ▼4.15 |
Dashboard /wp-admin | 3.56 ▲0.22 | 46.25 ▼12.59 |
Posts /wp-admin/edit.php | 3.68 ▲0.32 | 51.27 ▲4.06 |
Add New Post /wp-admin/post-new.php | 6.16 ▲0.28 | 99.51 ▲5.17 |
Media Library /wp-admin/upload.php | 3.48 ▲0.26 | 38.77 ▲4.81 |
Churches /wp-admin/admin.php?page=kerkenit-churches | 3.44 | 31.93 |
Masses /wp-admin/admin.php?page=kerkenit-masses | 3.45 | 44.39 |
Parish /wp-admin/admin.php?page=kerkenit | 3.44 | 31.86 |
Mass types /wp-admin/admin.php?page=kerkenit-massTypes | 3.44 | 31.02 |
Server storage [IO: ▲0.09MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 14 new files
Database: 4 new tables, 7 new options
New tables |
---|
wp_kei_diocese |
wp_kei_masses |
wp_kei_church |
wp_kei_massesType |
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_kei_widget_masses |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Kerk en IT Parish
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,859 ▲113 | 13.29 ▼1.02 | 1.71 ▲0.10 | 40.04 ▲2.72 |
Dashboard /wp-admin | 2,243 ▲51 | 5.89 ▲0.96 | 103.85 ▼1.94 | 81.66 ▲39.14 |
Posts /wp-admin/edit.php | 2,127 ▲38 | 2.03 ▼0.01 | 38.56 ▲4.24 | 33.13 ▼1.25 |
Add New Post /wp-admin/post-new.php | 1,697 ▲178 | 22.47 ▼0.75 | 724.36 ▲46.60 | 59.40 ▲5.03 |
Media Library /wp-admin/upload.php | 1,419 ▲31 | 4.24 ▼0.01 | 101.21 ▼3.78 | 71.81 ▲24.82 |
Churches /wp-admin/admin.php?page=kerkenit-churches | 1,015 | 1.74 | 25.10 | 30.47 |
Masses /wp-admin/admin.php?page=kerkenit-masses | 994 | 1.72 | 28.29 | 28.95 |
Parish /wp-admin/admin.php?page=kerkenit | 1,012 | 2.04 | 25.10 | 30.60 |
Mass types /wp-admin/admin.php?page=kerkenit-massTypes | 991 | 1.83 | 26.30 | 27.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_kei_widget_masses
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
Almost there! Just fix the following items
- 12× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/kerk-en-it-parish/admin/masses.php on line 4
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/kerk-en-it-parish/admin/masses.php on line 4
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/kerk-en-it-parish/admin/churches.php on line 4
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/kerk-en-it-parish/admin/massTypes.php on line 4
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/kerk-en-it-parish/admin/churches.php on line 4
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/kerk-en-it-parish/admin/churches.php on line 4
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/kerk-en-it-parish/admin/massTypes.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/kerk-en-it-parish/functions.php:72
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/kerk-en-it-parish/admin/masses.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/kerk-en-it-parish/kei-parish.php:36
- > 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 83% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Add descriptions for screenshots #1, #2, #3, #4 in kerk-en-it-parish/assets to your readme.txt
kerk-en-it-parish/kei-parish.php 69% from 13 tests
The main file in "Kerk en IT Parish" v. 0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Domain Path: Prefix the domain path with a forward slash character ("/languages")
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("kerk-en-it-parish.php" instead of "kei-parish.php")
- Domain Path: The domain path should use only dashes and lowercase characters ("languages")
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 detected1,534 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 251 | 270 | 1,199 |
PO File | 1 | 101 | 114 | 209 |
CSS | 1 | 9 | 0 | 66 |
JavaScript | 1 | 1 | 4 | 60 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 14.20 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 2.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 43 | |
▷ Static methods | 4 | 9.30% |
▷ Public methods | 41 | 95.35% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 4.65% |
Functions | 17 | |
▷ Named functions | 17 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon_bak.png | 0.50KB | 0.32KB | ▼ 35.90% |
images/icon.png | 0.38KB | 0.27KB | ▼ 28.79% |