Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▼0.02MB] [CPU: ▼294.98ms] Passed 4 tests
Analyzing server-side resources used by Advanced Custom Fields: Real Media Library Folder Field
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.01 | 51.94 ▼0.45 |
Dashboard /wp-admin | 3.41 ▲0.01 | 33.08 ▼0.96 |
Posts /wp-admin/edit.php | 3.65 ▲0.01 | 35.80 ▲0.09 |
Add New Post /wp-admin/post-new.php | 6.89 ▼0.08 | 91.66 ▼1,178.19 |
Media Library /wp-admin/upload.php | 3.30 ▲0.01 | 25.67 ▼0.33 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 13 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Advanced Custom Fields: Real Media Library Folder Field
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,763 ▲9 | 15.83 ▲0.22 | 6.28 ▲0.39 | 2.31 ▼0.13 |
Dashboard /wp-admin | 2,888 ▲27 | 6.01 ▼0.20 | 118.01 ▼20.77 | 159.99 ▼6.97 |
Posts /wp-admin/edit.php | 2,691 ▼0 | 3.24 ▼0.00 | 63.93 ▼5.34 | 137.33 ▼12.84 |
Add New Post /wp-admin/post-new.php | 1,696 ▼0 | 21.60 ▲0.50 | 466.62 ▲21.06 | 160.40 ▲5.03 |
Media Library /wp-admin/upload.php | 1,698 ▼0 | 5.51 ▼0.04 | 149.74 ▲10.97 | 192.69 ▲5.79 |
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
Uninstall script 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
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 96% from 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
5 plugin tags: real media library, acf, media library folders, advanced custom fields, folder field
acf-real-media-library-field/acf-real_media_library.php 92% from 13 tests
The main PHP file in "Advanced Custom Fields: Real Media Library Folder Field" ver. 1.1.4 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("acf-real-media-library-field.php" instead of "acf-real_media_library.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin384 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 145 | 174 | 353 |
JavaScript | 2 | 1 | 1 | 15 |
Markdown | 5 | 10 | 0 | 15 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 17.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 4.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 16 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin