Benchmarks
Plugin footprint 83% from 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: ▼2.37MB] [CPU: ▼343.48ms] Passed 4 tests
Analyzing server-side resources used by Flexible Content Extended for Advanced Custom Fields
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.00 ▼1.52 | 4.50 ▼46.90 |
Dashboard /wp-admin | 2.02 ▼1.39 | 5.79 ▼28.72 |
Posts /wp-admin/edit.php | 2.02 ▼1.62 | 6.10 ▼30.88 |
Add New Post /wp-admin/post-new.php | 2.02 ▼4.95 | 6.25 ▼1,267.41 |
Media Library /wp-admin/upload.php | 2.02 ▼1.28 | 5.06 ▼19.02 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 13 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Flexible Content Extended for Advanced Custom Fields
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,809 ▲55 | 15.88 ▼0.10 | 6.36 ▲0.48 | 2.48 ▼0.35 |
Dashboard /wp-admin | 2,909 ▲48 | 6.16 ▼0.03 | 118.35 ▼14.98 | 159.53 ▼5.28 |
Posts /wp-admin/edit.php | 2,700 ▲6 | 3.24 ▼0.00 | 65.36 ▲1.71 | 138.11 ▼3.75 |
Add New Post /wp-admin/post-new.php | 1,679 ▲18 | 19.35 ▲3.42 | 380.53 ▼66.54 | 157.00 ▼0.14 |
Media Library /wp-admin/upload.php | 1,715 ▲17 | 5.57 ▲0.08 | 143.57 ▲5.30 | 182.74 ▲7.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin cannot be uninstalled
- > User notice in wp-content/plugins/acf-flexible-content-extended/classes/requirements.php+31
Advanced Custom Fields is a required plugin.
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/acf-flexible-content-extended/acf-flexible-content-extended.php
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Warning
Use of undefined constant ACF_FCE_DIR - assumed 'ACF_FCE_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/acf-flexible-content-extended/autoload.php on line 154
- > PHP Fatal error
Trait 'ACF_FCE\\Singleton' not found in wp-content/plugins/acf-flexible-content-extended/classes/requirements.php on line 5
- > PHP Fatal error
Trait 'ACF_FCE\\Singleton' not found in wp-content/plugins/acf-flexible-content-extended/classes/main.php on line 5
- > PHP Warning
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 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
10 plugin tags: content, flexible, fields, modal, field...
acf-flexible-content-extended/acf-flexible-content-extended.php 92% from 13 tests
The main PHP file in "Flexible Content Extended for Advanced Custom Fields" ver. 1.10.0 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 193 characters long)
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
No dangerous file extensions were detected1,254 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
Markdown | 3 | 181 | 0 | 647 |
CSS | 1 | 7 | 0 | 250 |
PHP | 6 | 93 | 208 | 235 |
JavaScript | 1 | 63 | 21 | 122 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 6.80 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 23 | |
▷ Static methods | 3 | 13.04% |
▷ Public methods | 15 | 65.22% |
▷ Protected methods | 5 | 21.74% |
▷ Private methods | 3 | 13.04% |
Functions | 3 | |
▷ Named functions | 1 | 33.33% |
▷ Anonymous functions | 2 | 66.67% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected