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: ▲1.22MB] [CPU: ▲5.58ms] Passed 4 tests
Server-side resources used by ApplyOnline - Application Form Builder and Manager
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.65 ▲1.19 | 48.96 ▲13.07 |
Dashboard /wp-admin | 4.54 ▲1.20 | 56.10 ▼7.10 |
Posts /wp-admin/edit.php | 4.61 ▲1.25 | 52.12 ▲6.29 |
Add New Post /wp-admin/post-new.php | 7.15 ▲1.27 | 102.38 ▲10.05 |
Media Library /wp-admin/upload.php | 4.46 ▲1.23 | 47.34 ▲13.32 |
Categories Filter /wp-admin/edit-tags.php?taxonomy=aol_ad_category&post_type=aol_ad | 4.59 | 47.44 |
Create Ad /wp-admin/post-new.php?post_type=aol_ad | 4.62 | 66.70 |
Settings /wp-admin/admin.php?page=aol-settings | 4.57 | 47.74 |
Types Filter /wp-admin/edit-tags.php?taxonomy=aol_ad_type&post_type=aol_ad | 4.59 | 46.91 |
Locations Filter /wp-admin/edit-tags.php?taxonomy=aol_ad_location&post_type=aol_ad | 4.61 | 51.18 |
Applications /wp-admin/edit.php?post_type=aol_application | 4.51 | 44.89 |
Ads /wp-admin/edit.php?post_type=aol_ad | 4.51 | 45.27 |
Server storage [IO: ▲0.84MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 47 new files
Database: no new tables, 29 new options
New WordPress options |
---|
aol_required_fields_notice |
aol_success_mail_message |
aol_ad_type_children |
aol_form_templates |
aol_dismissed_notices |
db_upgraded |
aol_custom_statuses |
aol_app_statuses |
aol_version |
widget_recent-posts |
... |
Browser metrics Passed 4 tests
A check of browser resources used by ApplyOnline - Application Form Builder and Manager
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,996 ▲250 | 13.61 ▼0.76 | 12.02 ▲10.46 | 43.53 ▲3.90 |
Dashboard /wp-admin | 2,297 ▲116 | 5.67 ▼0.05 | 86.35 ▼25.52 | 37.84 ▼7.02 |
Posts /wp-admin/edit.php | 2,207 ▲107 | 2.30 ▲0.32 | 36.60 ▲1.36 | 36.57 ▼1.84 |
Add New Post /wp-admin/post-new.php | 1,612 ▲84 | 23.43 ▲0.33 | 603.71 ▼59.79 | 56.68 ▲5.81 |
Media Library /wp-admin/upload.php | 1,512 ▲109 | 4.51 ▲0.32 | 97.90 ▼1.22 | 41.82 ▼5.39 |
Categories Filter /wp-admin/edit-tags.php?taxonomy=aol_ad_category&post_type=aol_ad | 1,601 | 2.24 | 32.92 | 36.71 |
Create Ad /wp-admin/post-new.php?post_type=aol_ad | 3,500 | 8.17 | 185.85 | 70.92 |
Settings /wp-admin/admin.php?page=aol-settings | 2,739 | 2.69 | 53.59 | 46.72 |
Types Filter /wp-admin/edit-tags.php?taxonomy=aol_ad_type&post_type=aol_ad | 1,751 | 2.24 | 32.16 | 36.75 |
Locations Filter /wp-admin/edit-tags.php?taxonomy=aol_ad_location&post_type=aol_ad | 2,173 | 2.24 | 33.30 | 35.49 |
Applications /wp-admin/edit.php?post_type=aol_application | 1,280 | 2.73 | 44.36 | 31.01 |
Ads /wp-admin/edit.php?post_type=aol_ad | 1,220 | 2.24 | 35.36 | 30.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options were found after uninstall: 29 options
- aol_recipients_emails
- aol_version
- aol_app_statuses
- aol_ad_filters
- aol_custom_statuses
- aol_ad_author_notification
- aol_application_success_alert
- widget_recent-posts
- aol_dismissed_notices
- aol_form_templates
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
The following issues need your attention
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/apply-online/public/partials/applyonline-public-display.php
- > /wp-content/plugins/apply-online/admin/partials/applyonline-admin-display.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/apply-online/includes/applyonline-functions.php:346
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% 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 your attention:
- Screenshots: Please add an image for screenshot #9 (Admin - General Settings)
- Tags: Please delete some tags, you are using 53 tag instead of maximum 10
apply-online/apply-online.php 92% from 13 tests
The primary PHP file in "ApplyOnline - Application Form Builder and Manager" version 2.5.3 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin8,854 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 629 | 1,332 | 3,843 |
CSS | 9 | 219 | 412 | 1,730 |
PO File | 3 | 651 | 791 | 1,663 |
JavaScript | 7 | 224 | 446 | 1,605 |
XML | 1 | 0 | 0 | 13 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 24.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 66.00 |
Average method complexity | 4.01 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 17 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 135 | |
▷ Static methods | 5 | 3.70% |
▷ Public methods | 120 | 88.89% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 15 | 11.11% |
Functions | 55 | |
▷ Named functions | 55 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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 are no PNG files in this plugin