Benchmarks
Plugin footprint 83% 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.27MB] [CPU: ▲0.86ms] Passed 4 tests
A check of server-side resources used by Interlinks Manager
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 40.28 ▲0.15 |
Dashboard /wp-admin | 3.69 ▲0.38 | 57.67 ▲10.61 |
Posts /wp-admin/edit.php | 3.74 ▲0.38 | 50.81 ▲4.81 |
Add New Post /wp-admin/post-new.php | 6.24 ▲0.35 | 95.84 ▼2.49 |
Media Library /wp-admin/upload.php | 3.55 ▲0.32 | 36.03 ▲0.98 |
Dashboard /wp-admin/admin.php?page=daextinma-dashboard | 3.66 | 34.22 |
Pro Version /wp-admin/admin.php?page=daextinma-pro-version | 3.56 | 31.13 |
Options /wp-admin/admin.php?page=daextinma-options | 3.53 | 33.47 |
Help /wp-admin/admin.php?page=daextinma-help | 3.52 | 30.45 |
Juice /wp-admin/admin.php?page=daextinma-juice | 3.64 | 35.75 |
Server storage [IO: ▲0.38MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 48 new files
Database: 3 new tables, 22 new options
New tables |
---|
wp_daextinma_archive |
wp_daextinma_anchors |
wp_daextinma_juice |
New WordPress options |
---|
daextinma_interlinks_options_post_types |
widget_recent-comments |
daextinma_limit_posts_analysis |
widget_recent-posts |
daextinma_database_version |
daextinma_optimization_delta |
daextinma_set_memory_limit |
daextinma_remove_link_to_anchor |
widget_theysaidso_widget |
daextinma_set_max_execution_time |
... |
Browser metrics Passed 4 tests
Interlinks Manager: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲67 | 14.24 ▼0.47 | 1.70 ▼0.08 | 42.71 ▼1.41 |
Dashboard /wp-admin | 2,237 ▲57 | 5.61 ▼0.06 | 82.65 ▼16.87 | 37.90 ▼5.41 |
Posts /wp-admin/edit.php | 2,142 ▲42 | 1.98 ▼0.01 | 40.96 ▲4.09 | 36.80 ▲0.40 |
Add New Post /wp-admin/post-new.php | 6,294 ▲4,768 | 18.98 ▼4.13 | 860.38 ▲215.34 | 57.37 ▲8.74 |
Media Library /wp-admin/upload.php | 1,430 ▲36 | 4.20 ▲0.00 | 98.55 ▼2.03 | 44.43 ▲0.47 |
Dashboard /wp-admin/admin.php?page=daextinma-dashboard | 1,083 | 2.11 | 41.96 | 32.38 |
Pro Version /wp-admin/admin.php?page=daextinma-pro-version | 947 | 1.97 | 22.28 | 30.91 |
Options /wp-admin/admin.php?page=daextinma-options | 875 | 1.93 | 35.37 | 28.02 |
Help /wp-admin/admin.php?page=daextinma-help | 843 | 2.00 | 23.74 | 28.57 |
Juice /wp-admin/admin.php?page=daextinma-juice | 958 | 2.40 | 46.55 | 34.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
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)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/daext-interlinks-manager/admin/view/juice.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/daext-interlinks-manager/admin/view/help.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/daext-interlinks-manager/admin/view/options.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/daext-interlinks-manager/admin/view/pro_version.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/daext-interlinks-manager/admin/view/dashboard.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
daext-interlinks-manager/init.php 92% from 13 tests
The primary PHP file in "Interlinks Manager" version 1.07 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("daext-interlinks-manager.php" instead of "init.php")
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
There were no executable files found in this plugin6,452 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 13 | 512 | 96 | 2,601 |
PHP | 13 | 911 | 651 | 2,432 |
JavaScript | 7 | 228 | 101 | 1,400 |
Markdown | 1 | 4 | 0 | 19 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 35.67 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 3.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 100 | |
▷ Static methods | 6 | 6.00% |
▷ Public methods | 95 | 95.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 5.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
PNG files should be compressed to save space and minimize bandwidth usage
12 PNG files occupy 0.07MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/inc/chosen/chosen-sprite.png | 3.39KB | 1.00KB | ▼ 70.36% |
admin/assets/img/search.png | 0.21KB | 0.21KB | 0.00% |
admin/assets/img/help-f7f7f7.png | 15.86KB | 0.59KB | ▼ 96.25% |
admin/assets/img/arrow-down-f7f7f7.png | 15.21KB | 0.15KB | ▼ 98.99% |
admin/assets/img/help-fdfdfd.png | 15.52KB | 0.53KB | ▼ 96.60% |