Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.01MB] [CPU: ▼312.94ms] Passed 4 tests
Server-side resources used by ACF Generous
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.02 | 54.41 ▼38.98 |
Dashboard /wp-admin | 3.42 ▲0.01 | 32.87 ▼2.09 |
Posts /wp-admin/edit.php | 3.65 ▲0.01 | 36.56 ▼3.67 |
Add New Post /wp-admin/post-new.php | 6.89 ▼0.08 | 95.43 ▼1,207.03 |
Media Library /wp-admin/upload.php | 3.30 ▲0.01 | 24.18 ▲1.26 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
ACF Generous: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,767 ▲25 | 16.19 ▲1.01 | 5.83 ▼0.07 | 1.99 ▲0.13 |
Dashboard /wp-admin | 2,889 ▲28 | 6.08 ▼0.10 | 148.83 ▼0.69 | 185.40 ▲23.29 |
Posts /wp-admin/edit.php | 2,694 ▲6 | 3.24 ▼0.00 | 67.68 ▲2.93 | 141.16 ▼4.82 |
Add New Post /wp-admin/post-new.php | 1,752 ▲91 | 21.09 ▲3.89 | 448.44 ▼13.58 | 203.91 ▲20.02 |
Media Library /wp-admin/upload.php | 1,698 ▲6 | 5.52 ▼0.00 | 147.15 ▼8.84 | 256.73 ▲29.59 |
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
Uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/acf-generous/v5/acf-generous-slider.php:3
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/acf-generous/v4/acf-generous-slider.php:3
- > PHP Fatal error
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 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
7 plugin tags: custom, admin, field, slider, generous...
acf-generous/acf-generous.php 92% from 13 tests
The main PHP file in "ACF Generous" ver. 0.1.1 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected184 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 87 | 345 | 182 |
CSS | 1 | 0 | 0 | 1 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 5.67 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 24 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 23 | 95.83% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 4.17% |
Functions | 1 | |
▷ Named functions | 1 | 100.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected