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
Install script ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼145.27ms] Passed 4 tests
An overview of server-side resources used by ACF Overview
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.00 | 34.71 ▲0.46 |
Dashboard /wp-admin | 3.06 ▲0.01 | 46.66 ▲3.03 |
Posts /wp-admin/edit.php | 3.11 ▲0.01 | 45.00 ▼2.51 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 91.23 ▼576.79 |
Media Library /wp-admin/upload.php | 3.00 ▲0.00 | 32.19 ▼2.23 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 9 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by ACF Overview
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲107 | 15.87 ▲0.23 | 9.09 ▼2.87 | 47.70 ▲0.32 |
Dashboard /wp-admin | 2,973 ▲42 | 5.89 ▼0.25 | 150.06 ▼10.73 | 113.28 ▲3.56 |
Posts /wp-admin/edit.php | 2,736 ▼3 | 2.72 ▲0.00 | 66.49 ▼5.06 | 88.01 ▲0.80 |
Add New Post /wp-admin/post-new.php | 1,872 ▲200 | 19.09 ▲0.04 | 420.33 ▲7.15 | 104.71 ▼5.76 |
Media Library /wp-admin/upload.php | 1,807 ▼0 | 5.01 ▲0.01 | 145.45 ▼7.76 | 115.17 ▼7.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
This plugin's uninstaller ran successfully
Smoke tests 50% 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)
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 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
Please fix the following items
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/acf-overview/views/options.php
- > /wp-content/plugins/acf-overview/views/table.php
- 7× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function acf_overview\\esc_html() in wp-content/plugins/acf-overview/views/index.php:21
- > PHP Notice
Undefined variable: list in wp-content/plugins/acf-overview/views/options.php on line 6
- > PHP Notice
Undefined variable: columns in wp-content/plugins/acf-overview/views/table.php on line 8
- > PHP Notice
Undefined variable: fields in wp-content/plugins/acf-overview/views/table.php on line 16
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/acf-overview/views/options.php on line 6
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/acf-overview/views/table.php on line 16
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/acf-overview/views/table.php on line 8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: custom, fields, overview, advanced, acf
acf-overview/acf-overview.php Passed 13 tests
The main file in "ACF Overview" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
71 characters long description:
ACF Overview allows to quick view the configuration of all field groups
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected325 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 91 | 16 | 297 |
Markdown | 2 | 26 | 0 | 28 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 30.00 |
▷ Minimum class complexity | 30.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 2.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 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 | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
No PNG images were found in this plugin