Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.64MB] [CPU: ▼2.64ms] Passed 4 tests
Server-side resources used by Autolinks Manager
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.21 | 42.37 ▼3.26 |
Dashboard /wp-admin | 4.13 ▲0.78 | 54.61 ▼6.61 |
Posts /wp-admin/edit.php | 4.18 ▲0.82 | 54.85 ▲7.57 |
Add New Post /wp-admin/post-new.php | 6.68 ▲0.79 | 87.27 ▼0.31 |
Media Library /wp-admin/upload.php | 3.99 ▲0.76 | 38.04 ▼0.36 |
Statistics /wp-admin/admin.php?page=daextam-statistics | 4.03 | 41.31 |
Categories /wp-admin/admin.php?page=daextam-categories | 4.07 | 39.32 |
Export to Pro /wp-admin/admin.php?page=daextam-export-to-pro | 3.96 | 35.16 |
Help /wp-admin/admin.php?page=daextam-help | 3.96 | 34.99 |
Term Groups /wp-admin/admin.php?page=daextam-term-groups | 4.23 | 40.98 |
Autolinks /wp-admin/admin.php?page=daextam-autolinks | 4.39 | 43.58 |
Pro Version /wp-admin/admin.php?page=daextam-pro-version | 3.97 | 33.96 |
Options /wp-admin/admin.php?page=daextam-options | 3.98 | 40.03 |
Server storage [IO: ▲0.58MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 64 new files
Database: 4 new tables, 41 new options
New tables |
---|
wp_daextam_autolink |
wp_daextam_term_group |
wp_daextam_statistic |
wp_daextam_category |
New WordPress options |
---|
widget_recent-posts |
daextam_advanced_general_limit_characters_per_autolink |
daextam_database_version |
daextam_advanced_general_limit_mode |
daextam_defaults_priority |
daextam_advanced_protected_gutenberg_custom_void_blocks |
daextam_advanced_supported_terms |
daextam_defaults_right_boundary |
daextam_defaults_use_nofollow |
daextam_defaults_categories |
... |
Browser metrics Passed 4 tests
Autolinks Manager: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,863 ▲102 | 14.68 ▲0.16 | 1.99 ▲0.17 | 44.21 ▼0.30 |
Dashboard /wp-admin | 2,239 ▲68 | 5.55 ▼0.10 | 103.05 ▲6.07 | 35.26 ▼8.17 |
Posts /wp-admin/edit.php | 2,147 ▲44 | 2.03 ▲0.00 | 39.16 ▲4.36 | 30.75 ▼5.61 |
Add New Post /wp-admin/post-new.php | 1,585 ▲57 | 24.59 ▲1.35 | 657.73 ▼50.06 | 33.55 ▼18.69 |
Media Library /wp-admin/upload.php | 1,444 ▲44 | 4.22 ▲0.00 | 99.02 ▼3.02 | 42.45 ▼5.46 |
Statistics /wp-admin/admin.php?page=daextam-statistics | 930 | 1.98 | 29.18 | 48.17 |
Categories /wp-admin/admin.php?page=daextam-categories | 1,028 | 2.40 | 41.57 | 35.38 |
Export to Pro /wp-admin/admin.php?page=daextam-export-to-pro | 839 | 2.02 | 23.76 | 26.71 |
Help /wp-admin/admin.php?page=daextam-help | 862 | 2.15 | 24.01 | 27.12 |
Term Groups /wp-admin/admin.php?page=daextam-term-groups | 2,391 | 3.52 | 83.41 | 50.09 |
Autolinks /wp-admin/admin.php?page=daextam-autolinks | 1,712 | 3.26 | 65.63 | 36.91 |
Pro Version /wp-admin/admin.php?page=daextam-pro-version | 935 | 1.99 | 21.91 | 26.99 |
Options /wp-admin/admin.php?page=daextam-options | 1,284 | 2.39 | 52.86 | 40.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 8× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/daext-autolinks-manager/admin/view/export-to-pro.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/daext-autolinks-manager/admin/view/term-groups.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/daext-autolinks-manager/admin/view/pro-version.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/daext-autolinks-manager/admin/view/autolinks.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/daext-autolinks-manager/admin/view/options.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/daext-autolinks-manager/admin/view/statistics.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/daext-autolinks-manager/admin/view/help.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/daext-autolinks-manager/admin/view/categories.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
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 (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
daext-autolinks-manager/init.php 92% from 13 tests
This is the main PHP file of "Autolinks Manager" version 1.10.05, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("daext-autolinks-manager.php" instead of "init.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin10,959 lines of code in 46 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 1,568 | 1,534 | 6,663 |
CSS | 16 | 508 | 91 | 2,645 |
JavaScript | 11 | 238 | 196 | 1,582 |
PO File | 1 | 5 | 6 | 26 |
JSON | 1 | 0 | 0 | 24 |
Markdown | 1 | 4 | 0 | 19 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 72.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 185.00 |
Average method complexity | 3.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 85.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 152 | |
▷ Static methods | 7 | 4.61% |
▷ Public methods | 136 | 89.47% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 16 | 10.53% |
Functions | 3 | |
▷ Named functions | 1 | 33.33% |
▷ Anonymous functions | 2 | 66.67% |
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
PNG files should be compressed to save space and minimize bandwidth usage
14 PNG files occupy 0.11MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/img/trash.png | 1.11KB | 0.19KB | ▼ 82.81% |
admin/assets/inc/chosen/chosen-sprite.png | 3.39KB | 1.00KB | ▼ 70.36% |
admin/assets/img/search-hover.png | 0.21KB | 0.21KB | 0.00% |
admin/assets/img/clone-hover.png | 18.71KB | 0.12KB | ▼ 99.34% |
admin/assets/img/arrow-down-f7f7f7.png | 15.21KB | 0.15KB | ▼ 98.99% |