Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.01ms] Passed 4 tests
An overview of server-side resources used by ACF Flexible Layouts Manager
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 41.65 ▲1.47 |
Dashboard /wp-admin | 3.32 ▲0.02 | 48.09 ▼4.55 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 49.04 ▼3.48 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 87.02 ▼13.46 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.56 ▲1.84 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for ACF Flexible Layouts Manager
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲54 | 13.23 ▼1.07 | 1.73 ▲0.16 | 40.85 ▼2.83 |
Dashboard /wp-admin | 2,215 ▲15 | 5.84 ▼0.02 | 101.92 ▲1.01 | 41.50 ▼0.71 |
Posts /wp-admin/edit.php | 2,103 ▼0 | 2.04 ▲0.05 | 41.76 ▲3.95 | 36.83 ▼0.92 |
Add New Post /wp-admin/post-new.php | 1,550 ▲9 | 23.05 ▲4.80 | 649.23 ▲28.09 | 67.02 ▲6.44 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.22 ▲0.01 | 105.75 ▲4.41 | 48.77 ▲6.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
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
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
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/acf-flexible-layouts-manager/acf-flexible-layouts-manager.php
- 8× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/acf-flexible-layouts-manager/includes/languages.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/acf-flexible-layouts-manager/helpers/add-button.php:39
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/acf-flexible-layouts-manager/includes/paste.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/acf-flexible-layouts-manager/includes/ajax/ajax-duplicate.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/acf-flexible-layouts-manager/includes/ajax/ajax-select.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/acf-flexible-layouts-manager/includes/select.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/acf-flexible-layouts-manager/includes/ajax/ajax-copy.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/acf-flexible-layouts-manager/includes/ajax/ajax-paste.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
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:
- Donate link: Invalid URI found ("")
acf-flexible-layouts-manager/acf-flexible-layouts-manager.php Passed 13 tests
Analyzing the main PHP file in "ACF Flexible Layouts Manager" version 1.1.6
86 characters long description:
Add "Copy", "Duplicate", "Import" & "Paste" options for layout in ACF Flexible Content
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
There were no executable files found in this plugin760 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 6 | 117 | 82 | 343 |
PHP | 9 | 99 | 31 | 279 |
PO File | 1 | 22 | 22 | 74 |
CSS | 1 | 0 | 0 | 64 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.65 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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 are no PNG files in this plugin