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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.00MB] [CPU: ▼297.81ms] Passed 4 tests
Analyzing server-side resources used by ACF Flexible Content Modal
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.02 | 54.16 ▲2.13 |
Dashboard /wp-admin | 3.44 ▲0.03 | 34.29 ▼2.32 |
Posts /wp-admin/edit.php | 3.66 ▲0.02 | 36.79 ▼0.79 |
Add New Post /wp-admin/post-new.php | 6.90 ▼0.07 | 91.94 ▼1,187.89 |
Media Library /wp-admin/upload.php | 3.31 ▲0.01 | 26.53 ▼0.23 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 11 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for ACF Flexible Content Modal
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,783 ▲29 | 15.92 ▲0.33 | 5.91 ▼0.04 | 2.12 ▼0.24 |
Dashboard /wp-admin | 2,895 ▲34 | 6.03 ▼0.14 | 120.43 ▼15.48 | 156.36 ▼4.18 |
Posts /wp-admin/edit.php | 2,694 ▲6 | 3.23 ▼0.01 | 62.23 ▼2.29 | 141.17 ▼3.81 |
Add New Post /wp-admin/post-new.php | 1,752 ▼0 | 20.91 ▼0.36 | 473.25 ▼38.06 | 153.88 ▼11.84 |
Media Library /wp-admin/upload.php | 1,698 ▼3 | 5.51 ▼0.05 | 142.44 ▲4.78 | 179.10 ▼6.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 75% 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)
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/acf-flexible-content-modal/acf-flexible-content-modal.php
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 90% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots do not have images: #1 (Free layouts list to order easily.), #2 (Modal window to fill the contents.)
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== acf-flexible-content-modal ===
)
acf-flexible-content-modal/acf-flexible-content-modal.php 92% from 13 tests
"ACF Flexible Content Modal" version 1.2.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
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
Good job! No executable or dangerous file extensions detected469 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 44 | 11 | 230 |
JavaScript | 2 | 87 | 22 | 163 |
PHP | 1 | 25 | 40 | 34 |
JSON | 1 | 0 | 0 | 28 |
Markdown | 1 | 14 | 0 | 14 |
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.21 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 7 | 100.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.13MB with 0.09MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 80.52KB | 22.52KB | ▼ 72.04% |
screenshot-1.png | 53.67KB | 19.20KB | ▼ 64.23% |