Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼151.29ms] Passed 4 tests
Server-side resources used by ACF On-The-Go
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.88 ▲0.16 | 32.43 ▲7.16 |
Dashboard /wp-admin | 3.10 ▲0.04 | 44.30 ▼4.01 |
Posts /wp-admin/edit.php | 3.18 ▲0.07 | 48.17 ▲0.81 |
Add New Post /wp-admin/post-new.php | 5.45 ▲0.02 | 97.14 ▼603.18 |
Media Library /wp-admin/upload.php | 3.04 ▲0.04 | 36.41 ▲1.22 |
Server storage [IO: ▲0.64MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 26 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for ACF On-The-Go
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,844 ▲248 | 16.99 ▲1.54 | 16.15 ▲6.44 | 51.63 ▼1.91 |
Dashboard /wp-admin | 2,991 ▲57 | 5.88 ▼0.06 | 150.40 ▲3.46 | 121.87 ▼3.86 |
Posts /wp-admin/edit.php | 2,754 ▲15 | 2.68 ▼0.01 | 69.90 ▼7.86 | 86.34 ▼8.97 |
Add New Post /wp-admin/post-new.php | 1,685 ▲15 | 18.94 ▼0.18 | 393.22 ▼39.82 | 111.22 ▼25.06 |
Media Library /wp-admin/upload.php | 1,825 ▲21 | 5.03 ▲0.01 | 157.46 ▼12.86 | 122.86 ▼4.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/acf-on-the-go/includes/acfg-front-loader.php:24
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Screenshots: Please describe screenshot #8 in acf-on-the-go/assets to your readme.txt
acf-on-the-go/acf-on-thego.php 85% from 13 tests
"ACF On-The-Go" version 1.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("acf-on-the-go.php" instead of "acf-on-thego.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected698 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 87 | 11 | 369 |
PHP | 3 | 49 | 100 | 217 |
CSS | 4 | 16 | 20 | 59 |
Markdown | 1 | 13 | 0 | 53 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 2.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 15 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 15 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
13 PNG files occupy 0.51MB with 0.30MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/acfgo-images/screenshot-8.png | 55.89KB | 15.84KB | ▼ 71.65% |
assets/acfgo-images/screenshot-7.png | 40.74KB | 11.41KB | ▼ 71.98% |
assets/img/pencil12.png | 0.24KB | 0.20KB | ▼ 16.80% |
assets/acfgo-images/screenshot-2.png | 145.19KB | 47.55KB | ▼ 67.25% |
assets/acfgo-images/banner-772x250.png | 23.76KB | 8.07KB | ▼ 66.04% |