Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.70ms] Passed 4 tests
Analyzing server-side resources used by Internal Linking of Related Contents
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 41.20 ▲1.11 |
Dashboard /wp-admin | 3.34 ▲0.04 | 44.65 ▼2.57 |
Posts /wp-admin/edit.php | 3.45 ▲0.10 | 47.22 ▼7.22 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 87.90 ▼6.12 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 41.53 ▲5.74 |
Internal Linking of Related Contents /wp-admin/admin.php?page=ilrc_panel | 3.23 | 31.41 |
Server storage [IO: ▲1.50MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 31 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
category_children |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Internal Linking of Related Contents: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,855 ▲93 | 14.22 ▼0.02 | 1.86 ▲0.21 | 30.03 ▼15.26 |
Dashboard /wp-admin | 2,236 ▲56 | 5.57 ▼0.06 | 93.55 ▼6.76 | 85.01 ▲37.67 |
Posts /wp-admin/edit.php | 2,145 ▲42 | 2.10 ▲0.09 | 39.16 ▼1.15 | 38.22 ▲2.22 |
Add New Post /wp-admin/post-new.php | 1,715 ▲189 | 21.83 ▼1.75 | 760.61 ▲132.03 | 61.13 ▲1.01 |
Media Library /wp-admin/upload.php | 1,441 ▲41 | 4.18 ▼0.01 | 102.42 ▲5.95 | 84.20 ▲41.55 |
Internal Linking of Related Contents /wp-admin/admin.php?page=ilrc_panel | 1,561 | 2.89 | 73.47 | 108.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- db_upgraded
- category_children
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 5× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/internal-linking-of-related-contents/init.php:33
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/internal-linking-of-related-contents/core/includes/class-related-contents.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/internal-linking-of-related-contents/core/shortcode/shortcode.php:53
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/internal-linking-of-related-contents/core/admin/panel.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/internal-linking-of-related-contents/core/functions/style.php:70
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Tags: Please delete some tags, you are using 18 tag instead of maximum 10
- Screenshots: These screenshots require images: #1 (Template 1), #2 (Template 2), #3 (Template 3), #4 (Template 4 (Premium)), #5 (Template 5 (Premium)), #6 (Template 6 (Premium)), #7 (Template 7 (Premium)), #8 (Template 8 (Premium)), #9 (Template 9 (Premium))
internal-linking-of-related-contents/init.php 85% from 13 tests
"Internal Linking of Related Contents" version 1.1.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("internal-linking-of-related-contents.php" instead of "init.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin2,667 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 1,251 | 191 | 1,661 |
CSS | 4 | 129 | 30 | 709 |
PO File | 1 | 214 | 369 | 272 |
JavaScript | 1 | 20 | 12 | 25 |
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.18 |
Average class complexity | 33.20 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 76.00 |
Average method complexity | 4.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.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 | 52 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 52 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
13 PNG files occupy 1.35MB with 0.79MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
core/assets/images/template-previews/template-1.png | 8.95KB | 4.05KB | ▼ 54.72% |
core/assets/images/template-previews/template-3.png | 10.24KB | 4.36KB | ▼ 57.46% |
screenshot-8.png | 148.67KB | 58.01KB | ▼ 60.98% |
screenshot-9.png | 148.68KB | 57.92KB | ▼ 61.05% |
screenshot-1.png | 127.58KB | 54.70KB | ▼ 57.12% |