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 gracefully, with no errors
Server metrics [RAM: ▼0.00MB] [CPU: ▼292.59ms] Passed 4 tests
An overview of server-side resources used by ACFist
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.03 | 56.79 ▲4.98 |
Dashboard /wp-admin | 3.43 ▲0.02 | 32.61 ▲0.26 |
Posts /wp-admin/edit.php | 3.66 ▲0.02 | 36.70 ▲1.56 |
Add New Post /wp-admin/post-new.php | 6.90 ▼0.07 | 92.59 ▼1,174.16 |
Media Library /wp-admin/upload.php | 3.31 ▲0.02 | 24.44 ▲1.97 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for ACFist
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,783 ▲29 | 15.89 ▲0.10 | 8.16 ▲2.36 | 2.21 ▼0.68 |
Dashboard /wp-admin | 2,895 ▲34 | 6.15 ▼0.03 | 117.04 ▼26.88 | 156.99 ▼9.87 |
Posts /wp-admin/edit.php | 2,688 ▼0 | 3.24 ▲0.00 | 63.39 ▲0.38 | 138.65 ▼6.99 |
Add New Post /wp-admin/post-new.php | 1,711 ▲50 | 21.55 ▼1.10 | 448.40 ▲26.24 | 151.62 ▼3.45 |
Media Library /wp-admin/upload.php | 1,695 ▼3 | 5.50 ▼0.04 | 143.38 ▲4.65 | 181.68 ▼1.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstall script ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Plugin Name: Please specify the plugin name on the first line (
=== acfist ===
)
acfist/acfist.php Passed 13 tests
"ACFist" version 1.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
31 characters long description:
Empower ACF with more features.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected446 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 145 | 7 | 446 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 5.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 1.61 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 1 | 14.29% |
▷ Concrete classes | 6 | 85.71% |
▷ Final classes | 0 | 0.00% |
Methods | 54 | |
▷ Static methods | 8 | 14.81% |
▷ Public methods | 49 | 90.74% |
▷ Protected methods | 2 | 3.70% |
▷ Private methods | 3 | 5.56% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin