Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
These installer errors require your attention
- Install procedure validation failed for this plugin
- > Warning in wp-content/plugins/wp-auto-links/wp-auto-links.php+19
require_once(wp-content/plugins/wp-auto-links/vendor/autoload.php): failed to open stream: No such file or directory
Server metrics [RAM: ▲0.00MB] [CPU: ▼1.04ms] Passed 4 tests
Server-side resources used by Auto Links for WordPress
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 47.46 ▲1.32 |
Dashboard /wp-admin | 3.31 ▲0.00 | 59.17 ▲2.52 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 52.05 ▼2.89 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 93.64 ▼5.09 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 40.41 ▲2.71 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Auto Links for WordPress
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.28 ▼0.44 | 1.84 ▼0.04 | 38.09 ▼4.20 |
Dashboard /wp-admin | 2,195 ▲18 | 5.64 ▲0.03 | 89.52 ▲0.27 | 40.25 ▼4.49 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.02 ▲0.07 | 36.68 ▲0.77 | 38.11 ▲3.13 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.06 ▼0.05 | 646.30 ▼57.03 | 55.96 ▲6.16 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.17 ▲0.01 | 96.68 ▼7.61 | 43.38 ▼0.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please take a closer look at the following
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_CLI_Command' not found in wp-content/plugins/wp-auto-links/src/class-wp-auto-links-cli_commands.php:11
- > PHP Fatal error
Uncaught Error: Class 'WP_Auto_Links_Helper' not found in wp-content/plugins/wp-auto-links/templates/admin.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
7 plugin tags: auto links, posts, links, seo, pages...
wp-auto-links/wp-auto-links.php Passed 13 tests
This is the main PHP file of "Auto Links for WordPress" version 1.3.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
38 characters long description:
An inner links generator for WordPress
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
No dangerous file extensions were detected881 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 138 | 267 | 848 |
JSON | 1 | 0 | 0 | 33 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 2.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.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 | 40 | |
▷ Static methods | 13 | 32.50% |
▷ Public methods | 30 | 75.00% |
▷ Protected methods | 10 | 25.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 11 | 100.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin