Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.15MB] [CPU: ▼5.01ms] Passed 4 tests
An overview of server-side resources used by Link Monitor
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 44.18 ▼3.32 |
Dashboard /wp-admin | 3.44 ▲0.14 | 49.53 ▼2.83 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 50.37 ▼2.73 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 84.80 ▼11.15 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 37.13 ▼2.48 |
Link Monitor /wp-admin/options-general.php?page=my-setting-admin | 3.34 | 34.35 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 12 new files
Database: 1 new table, 13 new options
New tables |
---|
wp_link_monitor_clicks |
New WordPress options |
---|
widget_recent-posts |
link_monitor_in_custom_posts |
link_monitor_get |
link_monitor_in_comments |
db_upgraded |
link_monitor_in_feed |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Link Monitor
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲36 | 14.35 ▲0.14 | 1.72 ▼0.03 | 40.13 ▼2.37 |
Dashboard /wp-admin | 2,203 ▲26 | 5.64 ▲0.04 | 91.27 ▼12.48 | 41.55 ▼3.16 |
Posts /wp-admin/edit.php | 2,108 ▲5 | 2.03 ▲0.08 | 40.76 ▲3.60 | 35.31 ▲3.24 |
Add New Post /wp-admin/post-new.php | 6,233 ▲4,707 | 26.11 ▲2.50 | 1,073.33 ▲369.87 | 66.74 ▲11.74 |
Media Library /wp-admin/upload.php | 1,408 ▲11 | 4.27 ▲0.01 | 96.84 ▼9.05 | 40.47 ▼10.09 |
Link Monitor /wp-admin/options-general.php?page=my-setting-admin | 878 | 2.04 | 22.82 | 29.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_link_monitor_clicks
- This plugin did not uninstall successfully, leaving 13 options in the database
- link_monitor_in_pages
- widget_recent-comments
- link_monitor_in_custom_posts
- can_compress_scripts
- theysaidso_admin_options
- link_monitor_in_comments
- link_monitor_in_posts
- widget_recent-posts
- link_monitor_in_excerpt
- widget_theysaidso_widget
- ...
Smoke tests Passed 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)
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
3 plugin tags: monitorize links, hide links, hide urls
link-monitor/linkMonitor.php 92% from 13 tests
The entry point to "Link Monitor" version 1.0 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("link-monitor.php" instead of "linkMonitor.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin598 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 90 | 19 | 446 |
CSS | 1 | 25 | 0 | 125 |
JavaScript | 1 | 5 | 0 | 27 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 10.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 35.00 |
Average method complexity | 2.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 40 | |
▷ Static methods | 13 | 32.50% |
▷ Public methods | 38 | 95.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 5.00% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected