Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.25MB] [CPU: ▼2.35ms] Passed 4 tests
This is a short check of server-side resources used by Internal Links Generator
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.72 ▲0.25 | 41.31 ▲1.19 |
Dashboard /wp-admin | 3.55 ▲0.25 | 51.59 ▼1.42 |
Posts /wp-admin/edit.php | 3.67 ▲0.31 | 51.35 ▼0.33 |
Add New Post /wp-admin/post-new.php | 6.15 ▲0.27 | 89.26 ▼8.84 |
Media Library /wp-admin/upload.php | 3.48 ▲0.25 | 37.89 ▲2.05 |
Internal Links Generator /wp-admin/options-general.php?page=internal_links_generator | 3.42 | 33.92 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 22 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_internalinks |
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
ilgen_options |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Internal Links Generator
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,801 ▲40 | 14.17 ▼0.11 | 1.86 ▼0.19 | 44.48 ▼2.02 |
Dashboard /wp-admin | 2,207 ▲33 | 5.65 ▲0.06 | 90.80 ▼5.00 | 39.78 ▲1.28 |
Posts /wp-admin/edit.php | 2,109 ▲9 | 2.01 ▼0.00 | 37.29 ▼0.07 | 33.43 ▼5.63 |
Add New Post /wp-admin/post-new.php | 1,546 ▲18 | 18.23 ▼4.87 | 641.21 ▼45.66 | 61.17 ▲12.31 |
Media Library /wp-admin/upload.php | 1,415 ▲18 | 4.18 ▼0.15 | 98.90 ▼19.30 | 40.89 ▼6.07 |
Internal Links Generator /wp-admin/options-general.php?page=internal_links_generator | 841 | 1.66 | 25.40 | 28.50 |
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
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=internal_links_generator
- > Notice in wp-content/plugins/internal-links-generator/settings.php+98
Undefined index: order
- > GET request to /wp-admin/options-general.php?page=internal_links_generator
- > Notice in wp-content/plugins/internal-links-generator/settings.php+99
Undefined index: filter
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 items
- 9× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/internal-links-generator/templates/bugfixer.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/internal-links-generator/templates/keywords.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/internal-links-generator/templates/links.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/internal-links-generator/templates/settings.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/internal-links-generator/templates/impex.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/internal-links-generator/templates/grab.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/internal-links-generator/templates/stat.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/internal-links-generator/templates/asearch.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/internal-links-generator/internal-links-generator.php:73
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: seo, custom, link, internal links, keywords
internal-links-generator/internal-links-generator.php Passed 13 tests
The principal PHP file in "Internal Links Generator" v. 3.51 is loaded by WordPress automatically on each request
112 characters long description:
Simple way to automatically link a certain word or phrase in your post/page/custom content to a URL you specify.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected2,165 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 244 | 21 | 1,717 |
CSS | 1 | 19 | 0 | 335 |
JavaScript | 2 | 13 | 0 | 113 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.69 |
Average class complexity | 138.50 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 273.00 |
Average method complexity | 6.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 47 | |
▷ Static methods | 2 | 4.26% |
▷ Public methods | 47 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
5 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/arrows.png | 2.83KB | 0.15KB | ▼ 94.62% |
images/donate.png | 12.84KB | 4.25KB | ▼ 66.86% |
images/delete.png | 0.64KB | 0.39KB | ▼ 38.56% |
images/plus.png | 2.84KB | 0.19KB | ▼ 93.22% |
images/edit.png | 0.50KB | 0.26KB | ▼ 47.28% |