Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▼0.02MB] [CPU: ▼289.04ms] Passed 4 tests
A check of server-side resources used by ACF Columns
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.01 | 54.30 ▲2.45 |
Dashboard /wp-admin | 3.41 ▲0.00 | 34.16 ▲1.10 |
Posts /wp-admin/edit.php | 3.64 ▲0.00 | 35.64 ▼0.49 |
Add New Post /wp-admin/post-new.php | 6.89 ▼0.08 | 97.27 ▼1,149.85 |
Media Library /wp-admin/upload.php | 3.29 ▼0.01 | 23.39 ▼6.92 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 13 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by ACF Columns
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,763 ▲41 | 16.21 ▲0.43 | 6.13 ▲0.65 | 2.12 ▼0.07 |
Dashboard /wp-admin | 2,895 ▲34 | 6.15 ▼0.01 | 114.30 ▼16.70 | 158.32 ▲0.26 |
Posts /wp-admin/edit.php | 2,685 ▼3 | 3.24 ▲0.00 | 61.56 ▼2.21 | 135.69 ▼10.51 |
Add New Post /wp-admin/post-new.php | 1,689 ▲28 | 19.72 ▲3.66 | 379.65 ▼13.15 | 158.27 ▲6.14 |
Media Library /wp-admin/upload.php | 1,698 ▲6 | 5.51 ▼0.02 | 134.47 ▲0.18 | 183.38 ▼8.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
This plugin's uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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
Please take a closer look at the following
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/acf-columns/fields/acf-column-v5.7.php:15
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/acf-columns/fields/acf-column-v5.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: column, advanced custom fields, acfpro, acf
acf-columns/acf-column.php 85% from 13 tests
Analyzing the main PHP file in "ACF Columns" version 1.2.2
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-columns.php" instead of "acf-column.php")
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin627 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 115 | 222 | 240 |
PO File | 2 | 50 | 50 | 134 |
JavaScript | 2 | 52 | 21 | 128 |
CSS | 2 | 20 | 0 | 125 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 5.67 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 1.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 16 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 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 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin