Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.51MB] [CPU: ▼1.11ms] Passed 4 tests
An overview of server-side resources used by Sel Church Events
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.00 ▲0.53 | 43.60 ▼1.20 |
Dashboard /wp-admin | 3.85 ▲0.54 | 51.91 ▲1.71 |
Posts /wp-admin/edit.php | 3.91 ▲0.55 | 56.59 ▲6.46 |
Add New Post /wp-admin/post-new.php | 6.37 ▲0.48 | 86.76 ▼11.39 |
Media Library /wp-admin/upload.php | 3.71 ▲0.48 | 44.95 ▲11.67 |
Category /wp-admin/edit-tags.php?taxonomy=selt_event_category&post_type=selt_event | 3.71 | 40.94 |
All Events /wp-admin/edit.php?post_type=selt_event | 3.82 | 43.96 |
Install Plugins /wp-admin/plugins.php?page=tgmpa-install-plugins | 3.88 | 34.46 |
New Event /wp-admin/post-new.php?post_type=selt_event | 3.93 | 53.75 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_upcoming-events |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Sel Church Events
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,853 ▲92 | 14.40 ▲0.11 | 1.68 ▼0.30 | 44.76 ▼0.94 |
Dashboard /wp-admin | 2,253 ▲73 | 5.53 ▼0.15 | 98.13 ▲2.99 | 44.71 ▲6.90 |
Posts /wp-admin/edit.php | 2,170 ▲70 | 2.08 ▲0.05 | 42.99 ▲2.81 | 41.12 ▲4.23 |
Add New Post /wp-admin/post-new.php | 1,578 ▲52 | 23.35 ▲0.28 | 669.57 ▼18.41 | 66.12 ▲13.16 |
Media Library /wp-admin/upload.php | 1,469 ▲69 | 4.15 ▼0.09 | 111.79 ▲3.59 | 53.99 ▲8.29 |
Category /wp-admin/edit-tags.php?taxonomy=selt_event_category&post_type=selt_event | 1,346 | 2.30 | 29.03 | 35.87 |
All Events /wp-admin/edit.php?post_type=selt_event | 1,193 | 2.02 | 33.69 | 34.86 |
Install Plugins /wp-admin/plugins.php?page=tgmpa-install-plugins | 1,002 | 2.06 | 26.51 | 31.06 |
New Event /wp-admin/post-new.php?post_type=selt_event | 2,646 | 7.66 | 195.35 | 75.29 |
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
These items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_upcoming-events
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/sel-church-events/inc/tgmpa/class-tgm-plugin-activation.php:2109
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/sel-church-events/inc/tgmpa/class-tgm-plugin-activation.php:2109
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
3 plugin tags: events, church, church event
sel-church-events/plugin.php 77% from 13 tests
The main PHP script in "Sel Church Events" version 1.0.1 is automatically included on every request by WordPress
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("sel-church-events.php" instead of "plugin.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Description: Please don't use more than 140 characters for the plugin description (currently 162 characters long)
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,102 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 559 | 1,867 | 2,102 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 44.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 206.00 |
Average method complexity | 4.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 105 | |
▷ Static methods | 5 | 4.76% |
▷ Public methods | 82 | 78.10% |
▷ Protected methods | 23 | 21.90% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 10 | 90.91% |
▷ Anonymous functions | 1 | 9.09% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.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
No PNG images were found in this plugin