Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.02MB] [CPU: ▼294.56ms] Passed 4 tests
An overview of server-side resources used by ACF Companion Lite
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.01 | 52.57 ▲2.65 |
Dashboard /wp-admin | 3.41 ▲0.00 | 32.08 ▼4.36 |
Posts /wp-admin/edit.php | 3.64 ▲0.00 | 36.72 ▼1.83 |
Add New Post /wp-admin/post-new.php | 6.88 ▼0.09 | 96.70 ▼1,172.38 |
Media Library /wp-admin/upload.php | 3.30 ▲0.00 | 24.84 ▲0.35 |
Server storage [IO: ▲1.42MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 12 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for ACF Companion Lite
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,763 ▲9 | 16.01 ▲0.23 | 5.55 ▼0.43 | 2.22 ▼0.10 |
Dashboard /wp-admin | 2,892 ▲31 | 6.14 ▼0.05 | 120.42 ▼13.74 | 157.69 ▼2.18 |
Posts /wp-admin/edit.php | 2,694 ▲6 | 3.24 ▲0.02 | 64.96 ▼0.29 | 138.28 ▼2.46 |
Add New Post /wp-admin/post-new.php | 1,758 ▲97 | 21.52 ▼0.91 | 425.84 ▲24.08 | 156.43 ▼2.57 |
Media Library /wp-admin/upload.php | 1,698 ▼0 | 5.50 ▼0.02 | 143.67 ▲4.47 | 186.90 ▼0.46 |
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
This plugin's uninstaller ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: content, advanced custom fields, management, acf, acf companion...
acf-companion-lite/acf-companion-lite.php 92% from 13 tests
This is the main PHP file of "ACF Companion Lite" 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
The following require your attention:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
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
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
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
PNG files should be compressed to save space and minimize bandwidth usage
8 PNG files occupy 1.39MB with 0.78MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/screenshot-3.png | 110.21KB | 44.98KB | ▼ 59.19% |
assets/img/screenshot-4.png | 597.70KB | 296.29KB | ▼ 50.43% |
assets/img/banner-1544x500.png | 119.82KB | 50.28KB | ▼ 58.04% |
assets/img/icon-128x128.png | 3.57KB | 1.78KB | ▼ 50.01% |
assets/img/screenshot-2.png | 121.42KB | 46.65KB | ▼ 61.58% |