Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
- Install procedure had errors
- > Warning in wp-includes/class-wp-hook.php+307
call_user_func_array() expects parameter 1 to be a valid callback, function 'activate_acq_slick_slider' not found or invalid function name
Server metrics [RAM: ▲0.12MB] [CPU: ▼297.03ms] Passed 4 tests
This is a short check of server-side resources used by Acquaint Slick Slider
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.18 | 55.44 ▲3.92 |
Dashboard /wp-admin | 3.56 ▲0.15 | 35.55 ▼5.03 |
Posts /wp-admin/edit.php | 3.78 ▲0.14 | 38.33 ▼1.23 |
Add New Post /wp-admin/post-new.php | 7.03 ▲0.06 | 103.35 ▼1,179.50 |
Media Library /wp-admin/upload.php | 3.43 ▲0.14 | 24.58 ▼2.37 |
Add New Slider /wp-admin/post-new.php?post_type=aqs_gallery | 3.84 | 43.53 |
All Sliders /wp-admin/edit.php?post_type=aqs_gallery | 3.54 | 25.64 |
Server storage [IO: ▲1.23MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 83 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Acquaint Slick Slider
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,941 ▲187 | 16.21 ▲0.67 | 9.18 ▲2.97 | 2.62 ▲0.01 |
Dashboard /wp-admin | 2,923 ▲65 | 6.17 ▼0.01 | 119.11 ▼15.32 | 158.18 ▼6.29 |
Posts /wp-admin/edit.php | 2,725 ▲31 | 3.24 ▲0.00 | 62.72 ▼4.66 | 140.20 ▼5.16 |
Add New Post /wp-admin/post-new.php | 1,731 ▲59 | 15.71 ▼5.17 | 420.41 ▼13.30 | 171.62 ▲16.53 |
Media Library /wp-admin/upload.php | 1,732 ▲34 | 5.54 ▲0.00 | 141.66 ▼3.86 | 186.84 ▲2.06 |
Add New Slider /wp-admin/post-new.php?post_type=aqs_gallery | 2,845 | 6.22 | 100.28 | 183.38 |
All Sliders /wp-admin/edit.php?post_type=aqs_gallery | 1,410 | 3.16 | 60.48 | 111.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin cannot be uninstalled
- > Warning in wp-includes/class-wp-hook.php+307
call_user_func_array() expects parameter 1 to be a valid callback, function 'deactivate_acq_slick_slider' not found or invalid function name
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/acquaint-slick-slider/public/partials/acq-slick-slider-public-display.php
- > /wp-content/plugins/acquaint-slick-slider/admin/partials/acq-slick-slider-admin-display.php
- 8× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/acquaint-slick-slider/aqss-layout.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/acquaint-slick-slider/acq-slick-slider-short-code.php:7
- > PHP Notice
Undefined variable: post in wp-content/plugins/acquaint-slick-slider/acq-slick-slider-settings-meta-box.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/acquaint-slick-slider/acq-slick-slider-settings-meta-box.php:7
- > PHP Fatal error
Uncaught Error: Class 'WP_Query' not found in wp-content/plugins/acquaint-slick-slider/aqss-layout.php:7
- > PHP Notice
Undefined variable: Id in wp-content/plugins/acquaint-slick-slider/aqss-layout.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/acquaint-slick-slider/acq-slick-slider.php:29
- > PHP Notice
Trying to get property 'ID' of non-object in wp-content/plugins/acquaint-slick-slider/acq-slick-slider-settings-meta-box.php on line 5
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please take a look at the following user-side issues
- > GET request to /wp-admin/post-new.php?post_type=aqs_gallery
- > Network (severe)
wp-content/plugins/acquaint-slick-slider/tooltip/jquery.darktooltip.min.js?ver=5.9.2 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/post-new.php?post_type=aqs_gallery
- > Network (severe)
wp-content/plugins/acquaint-slick-slider/tooltip/darktooltip.min.css?ver=5.9.2 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
7 plugin tags: responsive, carousel, photos, gallery, images...
acquaint-slick-slider/acq-slick-slider.php 85% from 13 tests
The primary PHP file in "Acquaint Slick Slider" version 1.0.0 is used by WordPress to initiate all plugin functionality
The following require your attention:
- 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
- Main file name: Name the main plugin file the same as the plugin slug ("acquaint-slick-slider.php" instead of "acq-slick-slider.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin8,972 lines of code in 60 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 9 | 1,175 | 294 | 3,495 |
Sass | 13 | 26 | 24 | 1,352 |
LESS | 13 | 26 | 33 | 1,343 |
CSS | 7 | 196 | 73 | 1,155 |
PHP | 15 | 256 | 598 | 1,027 |
SVG | 2 | 1 | 0 | 578 |
HTML | 1 | 18 | 0 | 22 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 1.63 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 43 | |
▷ Static methods | 3 | 6.98% |
▷ Public methods | 38 | 88.37% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 11.63% |
Functions | 1 | |
▷ Named functions | 1 | 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 Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/acq_Close-icon.png | 18.37KB | 8.39KB | ▼ 54.31% |
css/images/delet.png | 0.99KB | 0.14KB | ▼ 85.45% |
admin/images/delet.png | 0.98KB | 0.14KB | ▼ 85.37% |