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.22MB] [CPU: ▼2.07ms] Passed 4 tests
Analyzing server-side resources used by Event CLNDR
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.21 | 36.50 ▼1.67 |
Dashboard /wp-admin | 3.53 ▲0.22 | 46.18 ▲1.01 |
Posts /wp-admin/edit.php | 3.64 ▲0.28 | 46.87 ▼0.10 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.22 | 95.91 ▼7.48 |
Media Library /wp-admin/upload.php | 3.45 ▲0.22 | 37.55 ▲0.97 |
Master Styles /wp-admin/admin.php?page=clndr-styles | 3.42 | 40.05 |
Events /wp-admin/admin.php?page=clndr | 3.41 | 33.86 |
Instances /wp-admin/admin.php?page=clndr-instances | 3.42 | 35.20 |
Server storage [IO: ▲0.74MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 41 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_clndr_events |
wp_clndr_instances |
New WordPress options |
---|
widget_recent-posts |
clndr_version |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Event CLNDR
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,876 ▲130 | 13.14 ▼1.29 | 1.63 ▼0.13 | 40.99 ▲1.07 |
Dashboard /wp-admin | 2,280 ▲89 | 4.86 ▼0.03 | 110.84 ▲4.55 | 42.74 ▼5.32 |
Posts /wp-admin/edit.php | 2,163 ▲74 | 2.05 ▲0.02 | 41.24 ▲5.60 | 34.65 ▼1.96 |
Add New Post /wp-admin/post-new.php | 1,552 ▲18 | 18.51 ▼4.44 | 600.02 ▼16.78 | 54.59 ▼8.93 |
Media Library /wp-admin/upload.php | 1,465 ▲83 | 4.21 ▲0.02 | 98.04 ▼0.75 | 41.86 ▼3.34 |
Master Styles /wp-admin/admin.php?page=clndr-styles | 1,490 | 2.47 | 52.53 | 41.92 |
Events /wp-admin/admin.php?page=clndr | 1,012 | 1.95 | 27.22 | 29.56 |
Instances /wp-admin/admin.php?page=clndr-instances | 2,605 | 2.69 | 58.28 | 46.46 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/event-clndr/clndr.php on line 27
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/event-clndr/clndr.php:29
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/event-clndr/clndr.php on line 26
- > PHP Notice
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 96% 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
4 plugin tags: event, calendar, events, dates
event-clndr/clndr.php 92% from 13 tests
The main PHP file in "Event CLNDR" ver. 1.05 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("event-clndr.php" instead of "clndr.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin7,146 lines of code in 39 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 22 | 494 | 917 | 4,365 |
PHP | 1 | 204 | 145 | 995 |
HTML | 10 | 135 | 1 | 808 |
CSS | 5 | 141 | 76 | 766 |
PO File | 1 | 81 | 82 | 212 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
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 | 26 | |
▷ Named functions | 23 | 88.46% |
▷ Anonymous functions | 3 | 11.54% |
Constants | 4 | |
▷ Global constants | 4 | 100.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 were not PNG files found in your plugin