Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.02MB] [CPU: ▼300.83ms] Passed 4 tests
Server-side resources used by ACF Slick Slider
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.01 | 59.50 ▲5.66 |
Dashboard /wp-admin | 3.41 ▲0.00 | 39.03 ▼1.83 |
Posts /wp-admin/edit.php | 3.64 ▲0.00 | 40.12 ▼3.66 |
Add New Post /wp-admin/post-new.php | 6.88 ▼0.09 | 96.49 ▼1,203.48 |
Media Library /wp-admin/upload.php | 3.30 ▲0.00 | 41.40 ▲8.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, no new options
Browser metrics Passed 4 tests
A check of browser resources used by ACF Slick Slider
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,800 ▲78 | 16.00 ▲0.36 | 11.74 ▲6.08 | 2.42 ▲0.02 |
Dashboard /wp-admin | 2,888 ▲27 | 6.01 ▼0.14 | 118.19 ▼16.89 | 156.41 ▼5.52 |
Posts /wp-admin/edit.php | 2,694 ▲6 | 3.22 ▼0.01 | 62.85 ▲0.32 | 136.97 ▼3.17 |
Add New Post /wp-admin/post-new.php | 1,760 ▲99 | 22.68 ▲1.79 | 416.52 ▼6.95 | 162.64 ▲11.00 |
Media Library /wp-admin/upload.php | 1,701 ▼0 | 5.52 ▼0.02 | 143.64 ▲4.94 | 189.33 ▲2.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstall script ran successfully
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > 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
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Screenshots: These screenshots need descriptions #1, #2 in acf-slick-slider/assets to your readme.txt
acf-slick-slider/acf_slick_slider.php 92% from 13 tests
"ACF Slick Slider" version 1.4.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to 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 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous 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
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
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
Using a strong compression for your PNG files is a great way to speed-up 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% |