Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼140.86ms] Passed 4 tests
Server-side resources used by ACF Front End Editor
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.94 ▲0.10 | 43.62 ▲8.12 |
Dashboard /wp-admin | 3.15 ▲0.09 | 49.86 ▼1.02 |
Posts /wp-admin/edit.php | 3.26 ▲0.15 | 52.88 ▲3.97 |
Add New Post /wp-admin/post-new.php | 5.50 ▲0.07 | 94.85 ▼565.44 |
Media Library /wp-admin/upload.php | 3.09 ▲0.09 | 35.67 ▼0.93 |
ACF Front end editor /wp-admin/options-general.php?page=acf-front-end-editor | 3.06 | 31.78 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 38 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for ACF Front End Editor
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,866 ▲270 | 16.42 ▲0.84 | 17.89 ▲9.89 | 55.15 ▲4.80 |
Dashboard /wp-admin | 2,979 ▲45 | 5.91 ▼0.04 | 166.29 ▲13.10 | 128.44 ▲5.85 |
Posts /wp-admin/edit.php | 2,748 ▲9 | 2.68 ▼0.01 | 65.73 ▼1.76 | 93.24 ▼0.97 |
Add New Post /wp-admin/post-new.php | 1,690 ▲7 | 18.78 ▲0.71 | 382.80 ▼7.96 | 117.98 ▼3.87 |
Media Library /wp-admin/upload.php | 1,816 ▲6 | 5.02 ▲0.01 | 165.35 ▲15.06 | 121.10 ▼9.22 |
ACF Front end editor /wp-admin/options-general.php?page=acf-front-end-editor | 1,074 | 2.38 | 56.06 | 84.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstall script ran successfully
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/acf-front-end-editor/public/partials/acf-front-end-editor-public-display.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/acf-front-end-editor/admin/partials/acf-front-end-editor-admin-display.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== acf-front-end-editor ===
)
acf-front-end-editor/acf-front-end-editor.php Passed 13 tests
The entry point to "ACF Front End Editor" version 2.0.2 is a PHP file that has certain tags in its header comment area
96 characters long description:
This is a short description of what the plugin does. It's displayed in the WordPress admin area.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin845 lines of code in 31 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 15 | 30 | 10 | 358 |
PHP | 12 | 147 | 600 | 333 |
JavaScript | 3 | 15 | 32 | 145 |
Markdown | 1 | 8 | 0 | 9 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 4.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 1.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 38 | |
▷ Static methods | 2 | 5.26% |
▷ Public methods | 31 | 81.58% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 18.42% |
Functions | 3 | |
▷ Named functions | 3 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin