Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼0.99ms] Passed 4 tests
Analyzing server-side resources used by ACF Companion Lite
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 47.43 ▲2.63 |
Dashboard /wp-admin | 3.31 ▲0.00 | 49.63 ▼4.54 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.41 ▼3.63 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 97.65 ▲1.59 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 39.97 ▲5.19 |
Server storage [IO: ▲1.42MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
ACF Companion Lite: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.51 ▼0.14 | 1.88 ▲0.18 | 44.05 ▲3.46 |
Dashboard /wp-admin | 2,198 ▲18 | 5.62 ▼0.06 | 88.74 ▼12.46 | 37.68 ▼5.03 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 1.99 ▲0.01 | 38.78 ▲3.46 | 33.53 ▼3.96 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.75 ▲0.44 | 660.56 ▼1.28 | 53.15 ▼5.55 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.24 ▲0.04 | 95.61 ▼9.41 | 43.97 ▲0.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
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
6 plugin tags: content, acf, advanced custom fields, acfc, acf companion...
acf-companion-lite/acf-companion-lite.php 92% from 13 tests
"ACF Companion Lite" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin351 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 63 | 116 | 299 |
PHP | 1 | 39 | 58 | 51 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 2.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 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 | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
8 PNG files occupy 1.39MB with 0.77MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/banner-1544x500.png | 119.82KB | 50.28KB | ▼ 58.04% |
assets/img/screenshot-4.png | 597.70KB | 296.29KB | ▼ 50.43% |
assets/img/screenshot-3.png | 110.21KB | 44.98KB | ▼ 59.19% |
assets/img/screenshot-1.png | 417.17KB | 182.92KB | ▼ 56.15% |
assets/img/icon-256x256.png | 7.18KB | 3.53KB | ▼ 50.88% |