Benchmarks
Plugin footprint 47% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲5.47MB] [CPU: ▲21.86ms] 75% from 4 tests
Analyzing server-side resources used by Internal Linking for SEO traffic & Ranking - Auto internal links (100% automatic)
The following require your attention
- Extra RAM: The extra memory usage must be under 5MB (currently 5.47MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.26 ▲5.80 | 68.15 ▲28.43 |
Dashboard /wp-admin | 9.28 ▲5.94 | 71.05 ▲10.31 |
Posts /wp-admin/edit.php | 9.28 ▲5.93 | 71.67 ▲25.37 |
Add New Post /wp-admin/post-new.php | 10.09 ▲4.21 | 115.40 ▲23.34 |
Media Library /wp-admin/upload.php | 9.28 ▲6.06 | 63.91 ▲31.98 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 9.28 | 56.98 |
Server storage [IO: ▲3.87MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 253 new files
Database: 2 new tables, 11 new options
New tables |
---|
wp_auto_internal_log |
wp_auto_internal_links |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
autolinks_db_version |
fs_accounts |
fs_active_plugins |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
fs_debug_mode |
automatic-internal-links-for-seo |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Internal Linking for SEO traffic & Ranking - Auto internal links (100% automatic)
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,834 ▲99 | 13.24 ▼0.72 | 1.70 ▲0.00 | 29.08 ▼15.71 |
Dashboard /wp-admin | 2,240 ▲52 | 4.87 ▼0.03 | 109.21 ▲3.26 | 41.33 ▼4.01 |
Posts /wp-admin/edit.php | 2,123 ▲34 | 2.00 ▲0.03 | 41.07 ▲5.40 | 38.62 ▲4.11 |
Add New Post /wp-admin/post-new.php | 1,546 ▲32 | 23.07 ▲5.34 | 651.31 ▼33.72 | 52.46 ▼6.98 |
Media Library /wp-admin/upload.php | 1,416 ▲28 | 4.29 ▲0.08 | 99.71 ▼0.15 | 44.80 ▲1.00 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,094 | 1.69 | 23.91 | 28.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 25% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/automatic-internal-links-for-seo/vendor/freemius/includes/class-freemius.php+8486
Undefined property: stdClass::$plugins
- The uninstall procedure failed, leaving 2 tables in the database
- wp_auto_internal_log
- wp_auto_internal_links
- Zombie WordPress options detected upon uninstall: 11 options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- fs_active_plugins
- can_compress_scripts
- fs_debug_mode
- automatic-internal-links-for-seo
- autolinks_db_version
- widget_recent-posts
- fs_accounts
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
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 fix the following
- 36× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/automatic-internal-links-for-seo/admin/views/inc/edit.view.php:9
- > PHP Warning
Use of undefined constant AILS_LOG_TABLE - assumed 'AILS_LOG_TABLE' (this will throw an Error in a future version of PHP) in wp-content/plugins/automatic-internal-links-for-seo/admin/controllers/ReplaceController.php on line 208
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/automatic-internal-links-for-seo/admin/views/inc/overrides.view.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/automatic-internal-links-for-seo/admin/views/inc/add.view.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/automatic-internal-links-for-seo/admin/views/inc/nav.view.php:6
- > PHP Fatal error
Uncaught Error: Interface 'html_changer\\HtmlPart' not found in wp-content/plugins/automatic-internal-links-for-seo/vendor/friedolinfoerder/html-changer/src/EndingTag.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function describe() in wp-content/plugins/automatic-internal-links-for-seo/vendor/friedolinfoerder/html-changer/spec/filter.spec.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function describe() in wp-content/plugins/automatic-internal-links-for-seo/vendor/friedolinfoerder/html-changer/spec/tree.spec.php:5
- > PHP Fatal error
Trait 'Pagup\\AutoLinks\\Traits\\Helpers' not found in wp-content/plugins/automatic-internal-links-for-seo/admin/controllers/SettingsController.php on line 8
- > PHP Fatal error
Uncaught Error: Class 'Pagup\\AutoLinks\\Controllers\\SettingsController' not found in wp-content/plugins/automatic-internal-links-for-seo/admin/controllers/PagesController.php:10
- > 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)
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Screenshots: A description for screenshot #3 is missing in automatic-internal-links-for-seo/assets to your readme.txt
automatic-internal-links-for-seo/automatic-internal-links-for-seo.php 85% from 13 tests
This is the main PHP file of "Internal Linking for SEO traffic & Ranking - Auto internal links (100% automatic)" version 1.1.2, 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:
- Description: Please keep the plugin description shorter than 140 characters (currently 163 characters long)
- Domain Path: The domain path points to an invalid folder, "/languages/" does not exist
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin39,265 lines of code in 200 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 167 | 9,071 | 17,695 | 37,321 |
CSS | 16 | 74 | 73 | 985 |
JavaScript | 13 | 107 | 112 | 822 |
JSON | 3 | 0 | 0 | 97 |
Markdown | 1 | 8 | 0 | 40 |
PHP code 50% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Please tend to the following items
- Class cyclomatic complexity has to be reduced to less than 1000 (currently 3,073)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.59 |
Average class complexity | 69.24 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 4.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 1 | |
Traits | 1 | |
Classes | 68 | |
▷ Abstract classes | 2 | 2.94% |
▷ Concrete classes | 66 | 97.06% |
▷ Final classes | 0 | 0.00% |
Methods | 1,400 | |
▷ Static methods | 231 | 16.50% |
▷ Public methods | 992 | 70.86% |
▷ Protected methods | 17 | 1.21% |
▷ Private methods | 391 | 27.93% |
Functions | 191 | |
▷ Named functions | 102 | 53.40% |
▷ Anonymous functions | 89 | 46.60% |
Constants | 149 | |
▷ Global constants | 102 | 68.46% |
▷ Class constants | 47 | 31.54% |
▷ Public constants | 47 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.06MB with 0.03MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
vendor/freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
admin/assets/metabox.png | 44.99KB | 19.47KB | ▼ 56.71% |