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.08MB] [CPU: ▼6.55ms] Passed 4 tests
Analyzing server-side resources used by AIO Contact Lite
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 37.10 ▼2.67 |
Dashboard /wp-admin | 3.40 ▲0.05 | 46.63 ▼12.86 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 49.68 ▲2.26 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 82.13 ▼12.93 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 37.48 ▲2.55 |
Settings /wp-admin/admin.php?page=aio-contact-lite-settings | 3.33 | 33.36 |
Items /wp-admin/admin.php?page=aio-contact-lite | 3.33 | 37.44 |
Server storage [IO: ▲4.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 49 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for AIO Contact Lite
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,950 ▲189 | 13.79 ▼0.49 | 8.16 ▲6.56 | 40.18 ▲1.93 |
Dashboard /wp-admin | 2,247 ▲70 | 5.59 ▼0.09 | 93.26 ▲3.38 | 44.54 ▲3.85 |
Posts /wp-admin/edit.php | 2,149 ▲49 | 1.99 ▲0.01 | 39.92 ▲6.44 | 44.53 ▲6.47 |
Add New Post /wp-admin/post-new.php | 1,557 ▲31 | 23.19 ▼0.35 | 667.97 ▲30.79 | 60.58 ▲10.18 |
Media Library /wp-admin/upload.php | 1,447 ▲47 | 4.31 ▲0.14 | 96.80 ▲0.83 | 45.26 ▲2.06 |
Settings /wp-admin/admin.php?page=aio-contact-lite-settings | 1,789 | 5.34 | 80.69 | 124.06 |
Items /wp-admin/admin.php?page=aio-contact-lite | 1,647 | 5.13 | 78.03 | 75.95 |
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 did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=aio-contact-lite-settings
- > Notice in wp-content/plugins/aio-contact-lite/admin/partials/aio-contact-lite-admin-settings.php+75
Undefined index: button_box_shadow
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
- 7× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/aio-contact-lite/admin/partials/aio-contact-lite-admin-settings.php:13
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/aio-contact-lite/public/partials/aio-contact-lite-public-display.php on line 21
- > PHP Notice
Undefined variable: items in wp-content/plugins/aio-contact-lite/public/partials/aio-contact-lite-public-display.php on line 21
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/aio-contact-lite/admin/partials/aio-contact-lite-admin-items.php:13
- > PHP Notice
Undefined variable: aio_custom_css in wp-content/plugins/aio-contact-lite/public/partials/aio-contact-lite-public-display.php on line 16
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/aio-contact-lite/admin/partials/common/aio-contact-lite-admin-header.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr_e() in wp-content/plugins/aio-contact-lite/public/partials/aio-contact-lite-public-display.php:38
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: whatsapp, support button, telegram, contact option, multiple support...
aio-contact-lite/aio-contact-lite.php 92% from 13 tests
The main PHP script in "AIO Contact Lite" version 1.0.1 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected10,065 lines of code in 32 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 4 | 0 | 13 | 9,509 |
PHP | 14 | 146 | 614 | 515 |
JavaScript | 7 | 2 | 19 | 33 |
CSS | 7 | 3 | 31 | 8 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 3.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 1.49 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 35 | |
▷ Static methods | 2 | 5.71% |
▷ Public methods | 30 | 85.71% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 14.29% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin