Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.44MB] [CPU: ▲5.30ms] Passed 4 tests
An overview of server-side resources used by AEC Kiosque
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.72 ▲0.25 | 41.73 ▲6.06 |
Dashboard /wp-admin | 3.83 ▲0.52 | 55.81 ▲5.26 |
Posts /wp-admin/edit.php | 3.88 ▲0.52 | 50.13 ▲3.34 |
Add New Post /wp-admin/post-new.php | 6.47 ▲0.57 | 99.67 ▲6.52 |
Media Library /wp-admin/upload.php | 3.69 ▲0.45 | 44.18 ▲7.57 |
/wp-admin/admin.php?page=aec-setup | 3.65 | 37.39 |
Help center /wp-admin/admin.php?page=aec-help | 3.69 | 36.47 |
Shortcode generator /wp-admin/admin.php?page=aec-shortcode-generator | 3.66 | 32.09 |
Settings /wp-admin/admin.php?page=aec-settings | 3.66 | 36.77 |
Server storage [IO: ▲1.30MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 51 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for AEC Kiosque
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,011 ▲249 | 13.72 ▼0.50 | 9.17 ▲7.46 | 17.95 ▼19.17 |
Dashboard /wp-admin | 2,274 ▲93 | 5.59 ▼0.14 | 88.85 ▼25.49 | 97.66 ▲48.71 |
Posts /wp-admin/edit.php | 2,200 ▲100 | 1.95 ▼0.07 | 36.53 ▼5.91 | 54.64 ▲17.09 |
Add New Post /wp-admin/post-new.php | 1,769 ▲243 | 22.30 ▼1.18 | 653.68 ▲7.86 | 42.93 ▼11.74 |
Media Library /wp-admin/upload.php | 1,488 ▲88 | 4.13 ▼0.06 | 104.26 ▲3.60 | 80.52 ▲37.55 |
/wp-admin/admin.php?page=aec-setup | 979 | 1.99 | 26.95 | 56.98 |
Help center /wp-admin/admin.php?page=aec-help | 1,636 | 2.04 | 26.72 | 54.28 |
Shortcode generator /wp-admin/admin.php?page=aec-shortcode-generator | 932 | 2.54 | 58.88 | 37.68 |
Settings /wp-admin/admin.php?page=aec-settings | 1,029 | 2.05 | 24.51 | 50.79 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 take a closer look at the following
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/aec-kiosque/admin/partials/aec-admin-custom-logo.php
- > /wp-content/plugins/aec-kiosque/public/partials/aec-public-display.php
- 8× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_style() in wp-content/plugins/aec-kiosque/admin/partials/aec-admin-shortcode-generator.php:17
- > PHP Notice
Undefined variable: title in wp-content/plugins/aec-kiosque/admin/partials/aec-admin-settings-header.php on line 23
- > PHP Warning
Use of undefined constant AEC_URL - assumed 'AEC_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/aec-kiosque/admin/partials/aec-admin-custom-logo.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'Aec_Admin_Settings' not found in wp-content/plugins/aec-kiosque/admin/partials/aec-admin-settings.php:19
- > PHP Fatal error
Uncaught Error: Class 'Aec_Admin_Settings' not found in wp-content/plugins/aec-kiosque/admin/partials/aec-admin-help.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function AEC() in wp-content/plugins/aec-kiosque/admin/partials/aec-admin-settings-header.php:24
- > PHP Warning
Use of undefined constant AEC_URL - assumed 'AEC_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/aec-kiosque/admin/partials/aec-admin-settings-header.php on line 22
- > PHP Fatal error
Uncaught Error: Class 'Aec_Admin_Settings' not found in wp-content/plugins/aec-kiosque/admin/partials/aec-admin-setup.php:17
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=aec-settings
- > Network (severe)
https://.aec-app.com/arc-en-ciel/dist/extranet_custom_css.php?ver=6.3.1 - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=aec-settings
- > Network (severe)
https://.extranet-aec.com/css/webapp-.css - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=aec-settings
- > Network (severe)
https://.extranet-aec.com/css/jqueryui.css - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
- > GET request to /wp-admin/admin.php?page=aec-shortcode-generator
- > Network (severe)
https://.extranet-aec.com/js/aec-webapp.js?ver=6.3.1 - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
- > GET request to /wp-admin/admin.php?page=aec-shortcode-generator
- > Javascript (severe) in unknown
/wp-content/plugins/aec-kiosque/includes/components/build/static/js/kiosque-builder-apps.js?ver=6.3.1 1:306865 Uncaught TypeError: Cannot read properties of null (reading '0')
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: atl, atl-software, webapps, aec
aec-kiosque/aec.php 77% from 13 tests
The principal PHP file in "AEC Kiosque" v. 1.5.9 is loaded by WordPress automatically on each request
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 303 characters long)
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Name the main plugin file the same as the plugin slug ("aec-kiosque.php" instead of "aec.php")
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
No dangerous file extensions were detected1,826 lines of code in 38 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 21 | 392 | 1,194 | 1,562 |
CSS | 3 | 25 | 9 | 150 |
SVG | 8 | 0 | 3 | 66 |
JSON | 2 | 0 | 0 | 40 |
JavaScript | 3 | 4 | 56 | 7 |
HTML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 7.91 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 1.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 1 | 9.09% |
▷ Concrete classes | 10 | 90.91% |
▷ Final classes | 0 | 0.00% |
Methods | 107 | |
▷ Static methods | 5 | 4.67% |
▷ Public methods | 94 | 87.85% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 13 | 12.15% |
Functions | 5 | |
▷ Named functions | 3 | 60.00% |
▷ Anonymous functions | 2 | 40.00% |
Constants | 12 | |
▷ Global constants | 11 | 91.67% |
▷ Class constants | 1 | 8.33% |
▷ Public constants | 1 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
6 PNG files occupy 1.09MB with 0.34MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/components/build/static/media/dashboard.5a6cb281.png | 398.40KB | 117.15KB | ▼ 70.59% |
admin/img/logo.png | 0.43KB | 0.41KB | ▼ 3.42% |
admin/img/icon_aec.png | 0.44KB | 0.39KB | ▼ 10.04% |
admin/img/bg-aec.png | 700.50KB | 200.19KB | ▼ 71.42% |
includes/components/build/logo192.png | 5.22KB | 5.57KB | 0.00% |