Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼4.07ms] Passed 4 tests
An overview of server-side resources used by Events by Devllo
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 39.13 ▼4.58 |
Dashboard /wp-admin | 3.44 ▲0.10 | 53.46 ▼4.28 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 48.09 ▼1.75 |
Add New Post /wp-admin/post-new.php | 6.21 ▲0.32 | 88.41 ▼5.65 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 41.07 ▲6.80 |
Add Event /wp-admin/post-new.php?post_type=devllo_event | 6.22 | 87.30 |
Event Categories /wp-admin/edit-tags.php?taxonomy=devllo_event_categories&post_type=devllo_event | 3.35 | 34.90 |
Event Types /wp-admin/edit-tags.php?taxonomy=devllo_events_types&post_type=devllo_event | 3.35 | 34.21 |
Add Ons /wp-admin/edit.php?post_type=devllo_event&page=devllo-events-addons | 3.33 | 33.87 |
Event Tags /wp-admin/edit-tags.php?taxonomy=devllo_events_tags&post_type=devllo_event | 3.35 | 33.41 |
Dashboard /wp-admin/edit.php?post_type=devllo_event&page=devllo-events-dashboard | 3.33 | 33.52 |
Events /wp-admin/edit.php?post_type=devllo_event | 3.41 | 36.68 |
Settings /wp-admin/edit.php?post_type=devllo_event&page=devllo-events-settings | 3.33 | 32.83 |
Server storage [IO: ▲7.26MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 54 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
devllo_events_current_version |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Events by Devllo
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,936 ▲190 | 13.79 ▼0.58 | 12.52 ▲10.93 | 43.60 ▲4.40 |
Dashboard /wp-admin | 2,266 ▲86 | 5.64 ▼0.05 | 95.50 ▲9.62 | 42.52 ▲0.52 |
Posts /wp-admin/edit.php | 2,168 ▲68 | 2.02 ▲0.06 | 34.39 ▼5.78 | 32.78 ▼3.43 |
Add New Post /wp-admin/post-new.php | 1,580 ▲49 | 23.05 ▼0.02 | 695.48 ▲41.45 | 56.27 ▲0.20 |
Media Library /wp-admin/upload.php | 1,468 ▲65 | 4.23 ▲0.03 | 110.37 ▲5.74 | 47.70 ▲2.54 |
Add Event /wp-admin/post-new.php?post_type=devllo_event | 6,700 | 25.44 | 929.91 | 45.57 |
Event Categories /wp-admin/edit-tags.php?taxonomy=devllo_event_categories&post_type=devllo_event | 1,339 | 2.12 | 26.84 | 30.28 |
Event Types /wp-admin/edit-tags.php?taxonomy=devllo_events_types&post_type=devllo_event | 1,342 | 2.12 | 26.19 | 31.73 |
Add Ons /wp-admin/edit.php?post_type=devllo_event&page=devllo-events-addons | 1,036 | 2.00 | 23.71 | 70.85 |
Event Tags /wp-admin/edit-tags.php?taxonomy=devllo_events_tags&post_type=devllo_event | 1,317 | 2.12 | 25.63 | 28.40 |
Dashboard /wp-admin/edit.php?post_type=devllo_event&page=devllo-events-dashboard | 1,640 | 4.37 | 78.35 | 112.29 |
Events /wp-admin/edit.php?post_type=devllo_event | 1,204 | 1.90 | 30.21 | 29.26 |
Settings /wp-admin/edit.php?post_type=devllo_event&page=devllo-events-settings | 1,140 | 2.01 | 24.94 | 36.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 7 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- devllo_events_current_version
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% 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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/devllo-events/templates/template-events.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/devllo-events/templates/calendar-event.php:6
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
These are user-side errors you should fix
- > GET request to /wp-admin/post-new.php?post_type=devllo_event
- > Javascript (severe) in unknown
/wp-content/plugins/devllo-events/includes/assets/js/auto-complete.js?ver=6.3.1 12:6 Uncaught ReferenceError: google is not defined
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (Add Event Page showing Event fields.), #2 (Single Event Page.), #3 (Event Calendar Page.), #4 (Event List Page.), #5 (Events Page.), #6 (Admin Dashboard Page.)
devllo-events/devllo-events.php 92% from 13 tests
The principal PHP file in "Events by Devllo" v. 1.0.4.3 is loaded by WordPress automatically on each request
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 223 characters long)
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
Everything looks great! No dangerous files found in this plugin68,893 lines of code in 39 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 12 | 6,886 | 6,254 | 51,820 |
CSS | 10 | 2,957 | 170 | 14,973 |
PHP | 16 | 595 | 437 | 1,934 |
PO File | 1 | 72 | 78 | 166 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 13.33 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 2.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 37.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 73 | |
▷ Static methods | 13 | 17.81% |
▷ Public methods | 72 | 98.63% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 1.37% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
11 PNG files occupy 4.00MB with 2.48MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/images/ui-icons_444444_256x240.png | 6.83KB | 4.17KB | ▼ 38.86% |
screenshot-5.png | 857.89KB | 208.00KB | ▼ 75.75% |
screenshot-4.png | 150.44KB | 31.14KB | ▼ 79.30% |
screenshot-6.png | 300.82KB | 67.73KB | ▼ 77.48% |
admin/assets/img/ui-icons_444444_256x240.png | 6.83KB | 4.17KB | ▼ 38.86% |