Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼2.43MB] [CPU: ▼353.58ms] Passed 4 tests
This is a short check of server-side resources used by ACF Permalinks
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.94 ▼1.58 | 4.41 ▼48.89 |
Dashboard /wp-admin | 1.96 ▼1.45 | 4.13 ▼28.87 |
Posts /wp-admin/edit.php | 1.96 ▼1.68 | 4.08 ▼35.06 |
Add New Post /wp-admin/post-new.php | 1.96 ▼5.01 | 3.96 ▼1,301.51 |
Media Library /wp-admin/upload.php | 1.96 ▼1.34 | 4.15 ▼24.45 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 21 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for ACF Permalinks
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,824 ▲70 | 15.66 ▼0.35 | 5.95 ▲0.04 | 2.43 ▼0.17 |
Dashboard /wp-admin | 2,927 ▲66 | 6.15 ▼0.07 | 119.58 ▼18.85 | 159.09 ▼0.05 |
Posts /wp-admin/edit.php | 2,728 ▲71 | 3.24 ▲0.00 | 64.85 ▲3.13 | 142.45 ▲2.12 |
Add New Post /wp-admin/post-new.php | 1,736 ▲46 | 20.71 ▲2.49 | 445.19 ▲31.95 | 158.67 ▼4.48 |
Media Library /wp-admin/upload.php | 1,737 ▲42 | 5.55 ▲0.01 | 146.91 ▲7.05 | 196.37 ▲7.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Uninstall procedure had uncaught errors
- > Warning in wp-content/plugins/acf-permalinks/includes/preconditions/class-cfp-preconditions.php+33
constant(): Couldn't find constant WORDPRESS_CUSTOM_FIELDS_PERMALINK_PLUGIN_VERSION
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 take a closer look at the following
- 10× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Interface 'AcfPermalinks\\Field_Permalink_Formatter' not found in wp-content/plugins/acf-permalinks/includes/formatter/class-checkbox-formatter.php:16
- > PHP Notice
Undefined variable: precondition_result in wp-content/plugins/acf-permalinks/includes/admin/plugin-dependency-notice.php on line 10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/acf-permalinks/includes/main.php:49
- > PHP Fatal error
Uncaught Error: Interface 'AcfPermalinks\\Field_Permalink_Formatter' not found in wp-content/plugins/acf-permalinks/includes/formatter/class-datepicker-formatter.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function AcfPermalinks\\add_action() in wp-content/plugins/acf-permalinks/includes/admin/plugin-dependency-notice.php:34
- > PHP Fatal error
Uncaught Error: Interface 'AcfPermalinks\\Field_Permalink_Formatter' not found in wp-content/plugins/acf-permalinks/includes/formatter/class-radio-formatter.php:16
- > PHP Fatal error
Uncaught Error: Interface 'AcfPermalinks\\Field_Permalink_Formatter' not found in wp-content/plugins/acf-permalinks/includes/formatter/class-user-formatter.php:17
- > PHP Fatal error
Uncaught Error: Interface 'AcfPermalinks\\Field_Permalink_Formatter' not found in wp-content/plugins/acf-permalinks/includes/formatter/class-post-formatter.php:17
- > PHP Fatal error
Uncaught Error: Interface 'AcfPermalinks\\Field_Permalink_Formatter' not found in wp-content/plugins/acf-permalinks/includes/formatter/class-default-formatter.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/acf-permalinks/includes/main.php:49
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
acf-permalinks/acf-permalinks.php 92% from 13 tests
The principal PHP file in "ACF Permalinks" v. 1.0.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 260 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin480 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 158 | 475 | 428 |
Markdown | 2 | 25 | 0 | 52 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 3.23 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 42 | |
▷ Static methods | 5 | 11.90% |
▷ Public methods | 36 | 85.71% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 14.29% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.07MB with 0.03MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-2.png | 39.41KB | 23.58KB | ▼ 40.18% |
assets/screenshot-1.png | 30.68KB | 19.76KB | ▼ 35.58% |