Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.20ms] Passed 4 tests
A check of server-side resources used by ACF Slick Slider
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 40.62 ▼0.90 |
Dashboard /wp-admin | 3.34 ▲0.03 | 45.67 ▼2.28 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 50.34 ▼0.19 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 83.14 ▼17.43 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.33 ▲0.09 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for ACF Slick Slider
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲77 | 14.48 ▲0.11 | 3.95 ▲2.38 | 39.17 ▼8.22 |
Dashboard /wp-admin | 2,209 ▲21 | 4.85 ▼1.05 | 99.97 ▼10.91 | 40.45 ▼3.09 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.13 ▲0.13 | 40.31 ▼2.30 | 36.30 ▲0.88 |
Add New Post /wp-admin/post-new.php | 1,534 ▲15 | 22.94 ▼0.30 | 680.58 ▼7.79 | 55.00 ▼4.00 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.24 ▲0.04 | 97.90 ▼15.15 | 39.63 ▼6.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% 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
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function acf_add_local_field_group() in wp-content/plugins/acf-slick-slider/inc/slick-slider-fields/field_slider.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: No descriptions were found for these screenshots #1, #2 in acf-slick-slider/assets to your readme.txt
acf-slick-slider/acf_slick_slider.php 92% from 13 tests
The principal PHP file in "ACF Slick Slider" v. 1.4.0 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("acf-slick-slider.php" instead of "acf_slick_slider.php")
Code Analysis Passed 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
There were no executable files found in this plugin3,617 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 836 | 100 | 2,627 |
PHP | 6 | 58 | 68 | 470 |
CSS | 3 | 20 | 15 | 397 |
Sass | 3 | 1 | 1 | 123 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/arrow-prev.png | 2.94KB | 0.17KB | ▼ 94.18% |
images/arrow-next.png | 2.91KB | 0.18KB | ▼ 93.93% |