Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.95MB] [CPU: ▼37.32ms] Passed 4 tests
An overview of server-side resources used by Internal Link Building
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.43 ▼0.03 | 30.63 ▼17.73 |
Dashboard /wp-admin | 2.99 ▼0.31 | 21.87 ▼29.35 |
Posts /wp-admin/edit.php | 2.99 ▼0.36 | 23.61 ▼27.36 |
Add New Post /wp-admin/post-new.php | 2.99 ▼2.89 | 25.79 ▼74.83 |
Media Library /wp-admin/upload.php | 2.99 ▼0.23 | 21.38 ▼11.90 |
Internal linking /wp-admin/options-general.php?page=internal-link-building-plugin/internal_link_building.php | 3.00 | 24.19 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Internal Link Building
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,817 ▲46 | 13.42 ▼0.88 | 1.56 ▼0.45 | 42.67 ▼1.86 |
Dashboard /wp-admin | 2,223 ▲32 | 4.89 ▲0.04 | 111.73 ▲2.26 | 38.60 ▼3.67 |
Posts /wp-admin/edit.php | 2,109 ▲17 | 2.09 ▲0.03 | 40.07 ▼3.15 | 35.41 ▼2.17 |
Add New Post /wp-admin/post-new.php | 1,519 ▼14 | 17.50 ▼5.78 | 607.66 ▼73.35 | 63.76 ▼2.25 |
Media Library /wp-admin/upload.php | 1,405 ▲14 | 4.18 ▲0.02 | 95.53 ▲0.27 | 41.67 ▼2.62 |
Internal linking /wp-admin/options-general.php?page=internal-link-building-plugin/internal_link_building.php | 1,047 | 1.70 | 26.28 | 29.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin cannot be uninstalled
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=internal-link-building-plugin/internal_link_building.php
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=internal-link-building-plugin/internal_link_building.php
- > Notice in wp-content/plugins/internal-link-building-plugin/internal_link_building.php+527
Undefined index: action
- > GET request to /wp-admin/options-general.php?page=internal-link-building-plugin/internal_link_building.php
- > Notice in wp-content/plugins/internal-link-building-plugin/internal_link_building.php+451
Undefined variable: x
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=internal-link-building-plugin/internal_link_building.php
- > Notice in wp-content/plugins/internal-link-building-plugin/internal_link_building.php+600
Trying to access array offset on value of type bool
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
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/internal-link-building-plugin/internal_link_building.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
8 plugin tags: google rankings, link building, affiliate, rankings, links...
internal-link-building-plugin/internal_link_building.php 85% from 13 tests
The main file in "Internal Link Building" v. 1.2.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("internal-link-building-plugin.php" instead of "internal_link_building.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 504 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected508 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 157 | 104 | 508 |
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.38 |
Average class complexity | 35.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 68.00 |
Average method complexity | 5.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 45.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 | 17 | |
▷ Static methods | 16 | 94.12% |
▷ Public methods | 17 | 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 | 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
1 PNG file occupies 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
IMN-logo.png | 30.06KB | 17.89KB | ▼ 40.50% |