Benchmarks
Plugin footprint Passed 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.04MB] [CPU: ▼180.53ms] Passed 4 tests
This is a short check of server-side resources used by ACF Media Cluster
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.89 ▲0.05 | 24.80 ▼5.11 |
Dashboard /wp-admin | 3.11 ▲0.04 | 45.16 ▲2.23 |
Posts /wp-admin/edit.php | 3.17 ▲0.05 | 36.56 ▲1.34 |
Add New Post /wp-admin/post-new.php | 5.47 ▲0.03 | 74.67 ▼720.56 |
Media Library /wp-admin/upload.php | 3.06 ▲0.05 | 33.87 ▲6.45 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for ACF Media Cluster
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,672 ▲71 | 15.72 ▲0.04 | 5.14 ▼0.12 | 75.57 ▲1.83 |
Dashboard /wp-admin | 2,935 ▲40 | 6.29 ▲0.26 | 115.59 ▼11.11 | 165.12 ▼6.75 |
Posts /wp-admin/edit.php | 2,745 ▲2 | 3.36 ▲0.13 | 63.31 ▼0.03 | 141.34 ▲7.70 |
Add New Post /wp-admin/post-new.php | 3,703 ▼112 | 18.17 ▼0.89 | 481.45 ▲45.24 | 178.11 ▲6.63 |
Media Library /wp-admin/upload.php | 1,754 ▲2 | 5.55 ▲0.07 | 180.31 ▲32.58 | 200.16 ▲17.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
This plugin's uninstaller ran successfully
Smoke tests Passed 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 Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: media, documents, acf, images, pdf...
acf-media-cluster/acf-media-cluster.php Passed 13 tests
This is the main PHP file of "ACF Media Cluster" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
100 characters long description:
An extension for Advance Custom Fields which provides the ability to add multiple media into a post.
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
Everything looks great! No dangerous files found in this plugin612 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 76 | 97 | 431 |
CSS | 1 | 17 | 0 | 98 |
JavaScript | 1 | 25 | 33 | 83 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 1.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected