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: ▲0.00MB] [CPU: ▼6.85ms] Passed 4 tests
This is a short check of server-side resources used by Flexible Content Extended for Advanced Custom Fields
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.40 ▼2.83 |
Dashboard /wp-admin | 3.31 ▲0.00 | 50.17 ▼4.08 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 50.26 ▲0.72 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 84.49 ▼19.30 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.84 ▼1.20 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Flexible Content Extended for Advanced Custom Fields
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.40 ▲0.04 | 1.60 ▼0.12 | 40.66 ▼1.67 |
Dashboard /wp-admin | 2,198 ▲18 | 5.64 ▲0.07 | 91.52 ▲1.05 | 41.26 ▼3.97 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.96 ▼0.04 | 33.71 ▼2.76 | 35.02 ▼4.64 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.70 ▲0.65 | 645.83 ▼0.04 | 51.74 ▲2.87 |
Media Library /wp-admin/upload.php | 1,403 ▲9 | 4.15 ▼0.02 | 96.49 ▼14.97 | 43.08 ▼2.27 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 take a closer look at 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 server-side errors or warnings when accessed directly:
- > PHP Fatal error
Trait 'ACF_FCE\\Singleton' not found in wp-content/plugins/acf-flexible-content-extended/classes/requirements.php on line 5
- > 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/main.php on line 5
- > 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 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
10 plugin tags: modal, preview, addon, acf, custom...
acf-flexible-content-extended/acf-flexible-content-extended.php 92% from 13 tests
The primary PHP file in "Flexible Content Extended for Advanced Custom Fields" version 2.0.0 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 193 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin1,278 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
Markdown | 3 | 185 | 0 | 654 |
CSS | 1 | 7 | 0 | 259 |
PHP | 6 | 100 | 214 | 243 |
JavaScript | 1 | 63 | 21 | 122 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 7.40 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 2.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin