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.04MB] [CPU: ▲0.66ms] Passed 4 tests
Analyzing server-side resources used by Link Checker Professional
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 36.09 ▼6.84 |
Dashboard /wp-admin | 3.36 ▲0.05 | 56.70 ▲7.95 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 48.13 ▲0.74 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 96.01 ▲8.88 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 38.16 ▲0.78 |
Scheduler /wp-admin/admin.php?page=link-checker-scheduler | 3.26 | 29.13 |
Settings /wp-admin/admin.php?page=link-checker-settings-x | 3.25 | 34.69 |
News /wp-admin/admin.php?page=link-checker-news | 3.25 | 30.12 |
Link Checker /wp-admin/admin.php?page=link-checker | 3.26 | 29.94 |
Server storage [IO: ▲3.47MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Link Checker Professional
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,835 ▲89 | 13.17 ▼1.63 | 1.64 ▼0.37 | 41.76 ▼0.85 |
Dashboard /wp-admin | 2,238 ▲50 | 6.02 ▲1.09 | 98.17 ▼7.48 | 36.80 ▼5.53 |
Posts /wp-admin/edit.php | 2,124 ▲35 | 2.01 ▼0.04 | 34.29 ▼0.94 | 36.09 ▼1.00 |
Add New Post /wp-admin/post-new.php | 1,561 ▲33 | 23.18 ▲0.14 | 659.90 ▼15.60 | 58.65 ▲1.77 |
Media Library /wp-admin/upload.php | 1,426 ▲35 | 4.23 ▲0.04 | 108.28 ▲8.26 | 47.45 ▲4.95 |
Scheduler /wp-admin/admin.php?page=link-checker-scheduler | 799 | 2.38 | 31.88 | 28.04 |
Settings /wp-admin/admin.php?page=link-checker-settings-x | 1,009 | 2.03 | 22.64 | 30.12 |
News /wp-admin/admin.php?page=link-checker-news | 874 | 2.02 | 39.19 | 27.03 |
Link Checker /wp-admin/admin.php?page=link-checker | 811 | 2.56 | 33.34 | 25.22 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
Smoke tests 50% 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)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/link-checker/shared_functions.php
- > /wp-content/plugins/link-checker/linkchecker.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=link-checker-news
- > Network (severe)
https://api.marcobeierer.com/twitter/v1/timeline?count=10 - Failed to load resource: the server responded with a status of 500 ()
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
9 plugin tags: link, dead link checker, dead links, broken link checker, broken links...
link-checker/linkchecker.php 85% from 13 tests
"Link Checker Professional" version 1.18.7's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("link-checker.php" instead of "linkchecker.php")
- Text Domain: The text domain should only use lowercase characters and dashes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin49,295 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 10 | 11,553 | 17,135 | 48,982 |
PHP | 2 | 59 | 30 | 298 |
CSS | 2 | 3 | 0 | 15 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 14 | |
▷ Named functions | 14 | 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
No PNG images were found in this plugin