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
Installer ran successfully
Server metrics [RAM: ▼0.02MB] [CPU: ▼296.56ms] Passed 4 tests
Analyzing server-side resources used by Advanced Custom Fields: W4 Post List Bridge
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.01 | 51.76 ▲1.63 |
Dashboard /wp-admin | 3.41 ▲0.01 | 31.29 ▼1.07 |
Posts /wp-admin/edit.php | 3.64 ▲0.00 | 44.25 ▲8.15 |
Add New Post /wp-admin/post-new.php | 6.88 ▼0.09 | 92.35 ▼1,187.57 |
Media Library /wp-admin/upload.php | 3.30 ▲0.00 | 25.78 ▲0.78 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Advanced Custom Fields: W4 Post List Bridge: 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 / | 3,763 ▲9 | 15.89 ▲0.20 | 5.66 ▼0.54 | 2.42 ▼0.13 |
Dashboard /wp-admin | 2,891 ▲36 | 6.10 ▼0.10 | 114.87 ▼22.73 | 154.84 ▼0.40 |
Posts /wp-admin/edit.php | 2,685 ▲28 | 3.24 ▼0.01 | 66.40 ▲3.16 | 139.70 ▲0.99 |
Add New Post /wp-admin/post-new.php | 1,752 ▲41 | 21.70 ▲0.81 | 433.28 ▼23.65 | 155.16 ▼14.17 |
Media Library /wp-admin/upload.php | 1,692 ▼6 | 5.54 ▲0.04 | 148.61 ▼0.15 | 185.26 ▼8.83 |
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 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 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
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/advanced-custom-fields-w4-post-list-bridge/acf-w4-post-list-bridge.php:13
- > PHP Fatal error
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)
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
4 plugin tags: custom post list, post list, acf, shortcode
advanced-custom-fields-w4-post-list-bridge/acf-w4-post-list-bridge.php 85% from 13 tests
The main file in "Advanced Custom Fields: W4 Post List Bridge" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 142 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("advanced-custom-fields-w4-post-list-bridge.php" instead of "acf-w4-post-list-bridge.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected17 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 4 | 11 | 17 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin