Benchmarks
Plugin footprint 83% from 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.02MB] [CPU: ▼3.96ms] Passed 4 tests
This is a short check of server-side resources used by ACFist
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.75 ▲0.02 | 40.54 ▼4.05 |
Dashboard /wp-admin | 3.58 ▲0.02 | 48.10 ▲0.48 |
Posts /wp-admin/edit.php | 3.70 ▲0.02 | 50.31 ▼3.59 |
Add New Post /wp-admin/post-new.php | 6.16 ▲0.02 | 95.37 ▼2.90 |
Media Library /wp-admin/upload.php | 3.51 ▲0.02 | 39.16 ▼5.30 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
ACFist: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.40 ▼0.21 | 1.66 ▼0.25 | 41.14 ▼4.28 |
Dashboard /wp-admin | 2,195 ▲15 | 5.60 ▼0.08 | 101.00 ▲13.22 | 46.04 ▼1.64 |
Posts /wp-admin/edit.php | 2,100 ▼6 | 2.00 ▼0.02 | 41.02 ▼2.92 | 38.29 ▼5.11 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 17.55 ▼0.22 | 625.06 ▼90.38 | 51.16 ▼6.49 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.23 ▲0.07 | 102.31 ▼15.01 | 44.08 ▼2.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
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
Attributes that require attention:
- Plugin Name: You should set the name of your plugin on the first line (
=== acfist ===
)
acfist/acfist.php Passed 13 tests
The entry point to "ACFist" version 1.0.1 is a PHP file that has certain tags in its header comment area
31 characters long description:
Empower ACF with more features.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin446 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
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues 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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected