Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
- Install procedure validation failed for this plugin
- > User deprecated in wp-includes/functions.php+5453
Function get_page_by_title is deprecated since version 6.2.0! Use WP_Query instead.
Server metrics [RAM: ▲3.93MB] [CPU: ▲37.38ms] Passed 4 tests
Analyzing server-side resources used by Arlo Training Management Software
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 7.10 ▲3.64 | 70.50 ▲32.08 |
Dashboard /wp-admin | 7.36 ▲4.05 | 81.16 ▲32.86 |
Posts /wp-admin/edit.php | 7.42 ▲4.06 | 95.69 ▲49.93 |
Add New Post /wp-admin/post-new.php | 9.91 ▲4.02 | 132.78 ▲40.66 |
Media Library /wp-admin/upload.php | 7.22 ▲3.99 | 77.33 ▲43.92 |
Logs /wp-admin/admin.php?page=arlo-for-wordpress-logs | 7.22 | 75.11 |
Presenters /wp-admin/admin.php?page=arlo-for-wordpress-presenters | 7.29 | 71.43 |
Events /wp-admin/admin.php?page=arlo-for-wordpress-events | 7.34 | 69.70 |
Templates /wp-admin/admin.php?page=arlo-for-wordpress-templates | 7.28 | 73.99 |
Online Activities /wp-admin/admin.php?page=arlo-for-wordpress-onlineactivities | 7.28 | 66.96 |
Arlo settings /wp-admin/admin.php?page=arlo-for-wordpress | 7.44 | 91.31 |
Sessions /wp-admin/admin.php?page=arlo-for-wordpress-sessions | 7.30 | 69.35 |
Venues /wp-admin/admin.php?page=arlo-for-wordpress-venues | 7.29 | 74.24 |
Server storage [IO: ▲7.50MB] [DB: ▲0.08MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 480 new files
Database: 23 new tables, 20 new options
New tables |
---|
wp_arlo_import_lock |
wp_arlo_eventtemplates_presenters |
wp_arlo_onlineactivities_tags |
wp_arlo_categories |
wp_arlo_messages |
wp_arlo_tags |
wp_arlo_timezones |
wp_arlo_async_task_data |
wp_arlo_venues |
wp_arlo_events_presenters |
... |
New WordPress options |
---|
widget_arlo-for-wordpress-upcoming-widget |
widget_theysaidso_widget |
arlo_import_disabled |
arlo_schema_version |
widget_arlo-for-wordpress-region-selector |
arlo_new_url_structure |
widget_arlo-for-wordpress-search-widget |
arlo_updated |
can_compress_scripts |
db_upgraded |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Arlo Training Management Software
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,028 ▲282 | 13.88 ▼0.41 | 8.04 ▲6.05 | 38.30 ▼3.95 |
Dashboard /wp-admin | 2,299 ▲111 | 5.06 ▲0.14 | 114.72 ▲10.42 | 42.33 ▼1.98 |
Posts /wp-admin/edit.php | 2,185 ▲99 | 2.34 ▲0.33 | 50.94 ▲16.30 | 36.29 ▲4.12 |
Add New Post /wp-admin/post-new.php | 1,566 ▲42 | 22.15 ▼1.09 | 671.87 ▼17.13 | 73.51 ▲12.14 |
Media Library /wp-admin/upload.php | 1,481 ▲93 | 4.39 ▲0.22 | 103.02 ▲4.87 | 45.81 ▲3.44 |
Logs /wp-admin/admin.php?page=arlo-for-wordpress-logs | 1,204 | 2.30 | 37.60 | 30.56 |
Presenters /wp-admin/admin.php?page=arlo-for-wordpress-presenters | 1,011 | 2.33 | 34.78 | 27.30 |
Events /wp-admin/admin.php?page=arlo-for-wordpress-events | 1,164 | 2.30 | 31.38 | 30.91 |
Templates /wp-admin/admin.php?page=arlo-for-wordpress-templates | 1,087 | 2.37 | 36.49 | 30.50 |
Online Activities /wp-admin/admin.php?page=arlo-for-wordpress-onlineactivities | 1,040 | 2.36 | 31.29 | 31.39 |
Arlo settings /wp-admin/admin.php?page=arlo-for-wordpress | 6,799 | 4.61 | 81.89 | 128.32 |
Sessions /wp-admin/admin.php?page=arlo-for-wordpress-sessions | 1,095 | 2.37 | 33.66 | 28.92 |
Venues /wp-admin/admin.php?page=arlo-for-wordpress-venues | 1,074 | 2.37 | 32.62 | 29.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.05MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 15 options in the database
- can_compress_scripts
- arlo_review_notice_date
- widget_arlo-for-wordpress-search-widget
- widget_arlo-for-wordpress-upcoming-widget
- widget_recent-comments
- widget_arlo-for-wordpress-region-selector
- widget_theysaidso_widget
- db_upgraded
- arlo_settings
- theysaidso_admin_options
- ...
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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 fix the following items
- 11× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
- > /wp-content/plugins/arlo-training-and-event-management-system/admin/includes/codes/events.php
- > /wp-content/plugins/arlo-training-and-event-management-system/admin/includes/codes/event.php
- > /wp-content/plugins/arlo-training-and-event-management-system/admin/includes/codes/venues.php
- > /wp-content/plugins/arlo-training-and-event-management-system/admin/includes/codes/venue.php
- > /wp-content/plugins/arlo-training-and-event-management-system/admin/includes/codes/eventsearch.php
- > /wp-content/plugins/arlo-training-and-event-management-system/admin/includes/codes/schedule.php
- > /wp-content/plugins/arlo-training-and-event-management-system/admin/includes/codes/upcoming.php
- > /wp-content/plugins/arlo-training-and-event-management-system/admin/includes/codes/presenter.php
- > /wp-content/plugins/arlo-training-and-event-management-system/admin/includes/codes/presenters.php
- > /wp-content/plugins/arlo-training-and-event-management-system/admin/includes/codes/oa.php
- 54× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/arlo-training-and-event-management-system/widgets/region-selector/views/widget.php:5
- > PHP Fatal error
Uncaught Error: Class 'Arlo_For_Wordpress' not found in wp-content/plugins/arlo-training-and-event-management-system/widgets/upcoming-widget/views/admin.php:3
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/arlo-training-and-event-management-system/admin/includes/class-arlo-for-wordpress-lists.php on line 13
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/arlo-training-and-event-management-system/admin/views/list.php:15
- > PHP Fatal error
Uncaught Error: Class 'Arlo\\Importer\\BaseImporter' not found in wp-content/plugins/arlo-training-and-event-management-system/includes/importer/arlo-download.php:9
- > 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/arlo-training-and-event-management-system/admin/includes/class-arlo-for-wordpress-lists.php on line 13
- > 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/arlo-training-and-event-management-system/admin/includes/class-arlo-for-wordpress-lists.php on line 13
- > 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/arlo-training-and-event-management-system/admin/includes/class-arlo-for-wordpress-loglist.php on line 13
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/arlo-training-and-event-management-system/widgets/region-selector/class-arlo-for-wordpress-region-selector.php:10
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/arlo-training-and-event-management-system/admin/includes/class-arlo-for-wordpress-lists.php on line 13
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
These are user-side errors you should fix
- > GET request to /wp-admin/admin.php?page=arlo-for-wordpress
- > Network (severe)
https://api.arlo.co/presentations/api/2012-02-01/pub/resources/eventsearch/?filter=templatecode%3DLEAR1&fields=ViewUri%2CRegistrationInfo%2CStartDateTime&top=1&callback=LS_EventSearchResource_callback_531005326 - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/admin.php?page=arlo-for-wordpress
- > Security (severe) in unknown
/wp-admin/admin.php?page=arlo-for-wordpress#theme - Refused to execute script from 'https://api.arlo.co/presentations/api/2012-02-01/pub/resources/eventsearch/?filter=templatecode%3DLEAR1&fields=ViewUri%2CRegistrationInfo%2CStartDateTime&top=1&callback=LS_EventSearchResource_callback_531005326' because its MIME type ('') is not executable, and strict MIME type checking is enabled.
Optimizations
Plugin configuration 90% 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
These attributes need to be fixed:
- Tags: There are too many tags (29 tag instead of maximum 10)
arlo-training-and-event-management-system/arlo-for-wordpress.php 85% from 13 tests
This is the main PHP file of "Arlo Training Management Software" version 4.2.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("arlo-training-and-event-management-system.php" instead of "arlo-for-wordpress.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected98,655 lines of code in 199 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 36 | 4,304 | 718 | 67,041 |
PHP | 108 | 4,395 | 2,277 | 15,726 |
JavaScript | 28 | 1,369 | 1,133 | 9,654 |
SVG | 8 | 5 | 12 | 4,843 |
PO File | 3 | 404 | 532 | 1,035 |
JSON | 14 | 0 | 0 | 237 |
Markdown | 2 | 25 | 0 | 119 |
PHP code 50% from 2 tests
This is a very shot review of cyclomatic complexity and code structure
Please fix the following
- Method cyclomatic complexity has to be reduced to less than 100 (currently 109)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 33.28 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 304.00 |
Average method complexity | 3.95 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 109.00 |
Code structure | ||
---|---|---|
Namespaces | 9 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 83 | |
▷ Abstract classes | 2 | 2.41% |
▷ Concrete classes | 81 | 97.59% |
▷ Final classes | 0 | 0.00% |
Methods | 776 | |
▷ Static methods | 247 | 31.83% |
▷ Public methods | 500 | 64.43% |
▷ Protected methods | 38 | 4.90% |
▷ Private methods | 238 | 30.67% |
Functions | 159 | |
▷ Named functions | 27 | 16.98% |
▷ Anonymous functions | 132 | 83.02% |
Constants | 34 | |
▷ Global constants | 4 | 11.76% |
▷ Class constants | 30 | 88.24% |
▷ Public constants | 30 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
23 PNG files occupy 0.38MB with 0.17MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
themes/be.software.designers/images/home_software_pattern.png | 2.59KB | 2.66KB | 0.00% |
admin/assets/img/icon-20x20-blue.png | 1.37KB | 0.77KB | ▼ 43.83% |
admin/assets/img/arlo-logo.png | 19.08KB | 2.76KB | ▼ 85.52% |
themes/be.software.designers/images/image1.png | 35.52KB | 15.02KB | ▼ 57.73% |
admin/assets/img/icon-20x20.png | 1.30KB | 0.77KB | ▼ 40.80% |