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.19MB] [CPU: ▼19.04ms] Passed 4 tests
A check of server-side resources used by ACF Flexible Content Layout Thumbnail
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 45.42 ▲2.00 |
Dashboard /wp-admin | 3.24 ▼0.10 | 34.72 ▼27.37 |
Posts /wp-admin/edit.php | 3.31 ▼0.05 | 35.84 ▼13.97 |
Add New Post /wp-admin/post-new.php | 5.25 ▼0.63 | 67.00 ▼31.36 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.08 ▼3.45 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by ACF Flexible Content Layout Thumbnail
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲70 | 13.20 ▼1.18 | 2.01 ▲0.27 | 37.20 ▼3.87 |
Dashboard /wp-admin | 2,222 ▲34 | 4.87 ▲0.00 | 105.90 ▲4.31 | 43.77 ▼3.71 |
Posts /wp-admin/edit.php | 2,105 ▲13 | 2.01 ▼0.12 | 40.87 ▼0.63 | 38.32 ▲2.80 |
Add New Post /wp-admin/post-new.php | 1,546 ▲24 | 23.19 ▲0.01 | 649.27 ▼29.79 | 59.64 ▲1.95 |
Media Library /wp-admin/upload.php | 1,404 ▲16 | 4.22 ▲0.02 | 99.14 ▼18.51 | 49.11 ▲0.21 |
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
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
9 plugin tags: fields, field, acf, thumbnails, thumbnail...
acf-flexible-content-layout-thumbnail/acf-fcl.php 77% from 13 tests
This is the main PHP file of "ACF Flexible Content Layout Thumbnail" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Text Domain: The text domain should only use lowercase characters and dashes
- Requires at least: Required version does not match the one declared in readme.txt ("4.8" instead of "1.0")
- Main file name: Name the main plugin file the same as the plugin slug ("acf-flexible-content-layout-thumbnail.php" instead of "acf-fcl.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
Good job! No executable or dangerous file extensions detected433 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 93 | 231 | 433 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 7.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 1.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 1 | 25.00% |
Methods | 28 | |
▷ Static methods | 2 | 7.14% |
▷ Public methods | 24 | 85.71% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 14.29% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 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
1 PNG file occupies 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/noImage.png | 37.09KB | 20.66KB | ▼ 44.30% |