Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼300.49ms] Passed 4 tests
Server-side resources used by ACF Booster
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.08 | 66.39 ▲5.98 |
Dashboard /wp-admin | 3.49 ▲0.09 | 37.82 ▲1.31 |
Posts /wp-admin/edit.php | 3.72 ▲0.08 | 42.18 ▲3.03 |
Add New Post /wp-admin/post-new.php | 6.95 ▼0.02 | 102.28 ▼1,201.55 |
Media Library /wp-admin/upload.php | 3.37 ▲0.07 | 27.47 ▼4.75 |
Server storage [IO: ▲0.26MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 16 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
ACF Booster: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,763 ▲19 | 16.15 ▲0.02 | 5.82 ▼0.00 | 2.45 ▲0.07 |
Dashboard /wp-admin | 2,888 ▲20 | 6.15 ▼0.01 | 143.50 ▼21.95 | 163.03 ▼29.95 |
Posts /wp-admin/edit.php | 2,685 ▼3 | 3.24 ▲0.01 | 65.26 ▼3.94 | 173.74 ▼19.67 |
Add New Post /wp-admin/post-new.php | 1,717 ▼35 | 21.99 ▲1.17 | 453.46 ▼33.59 | 164.61 ▼17.66 |
Media Library /wp-admin/upload.php | 1,698 ▼3 | 5.49 ▲0.02 | 174.57 ▲14.04 | 183.06 ▼7.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled completely, with no zombie files or tables
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
3 plugin tags: custom fields, acf, acf counter
acf-booster/acf-booster.php Passed 13 tests
The primary PHP file in "ACF Booster" version 1.0 is used by WordPress to initiate all plugin functionality
43 characters long description:
Add functionality to Advanced Custom Fields
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 detected577 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 8 | 112 | 371 |
JavaScript | 4 | 9 | 32 | 200 |
CSS | 1 | 0 | 0 | 6 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
Average class complexity | 21.50 |
▷ Minimum class complexity | 19.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 4.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 2 | 15.38% |
▷ Public methods | 10 | 76.92% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 23.08% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
4 PNG files occupy 0.15MB with 0.11MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 64.95KB | 19.06KB | ▼ 70.65% |
assets/screenshot-2.png | 60.57KB | 10.21KB | ▼ 83.15% |
assets/icon-128x128.png | 10.38KB | 3.91KB | ▼ 62.36% |
assets/icon-256x256.png | 22.00KB | 7.91KB | ▼ 64.04% |