Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.07MB] [CPU: ▼0.29ms] Passed 4 tests
Analyzing server-side resources used by Clink - WordPress Link Manager
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 39.77 ▲0.22 |
Dashboard /wp-admin | 3.37 ▲0.07 | 45.61 ▼4.67 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 47.92 ▲1.57 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 92.34 ▲5.32 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 34.83 ▲1.72 |
Categories /wp-admin/edit-tags.php?taxonomy=clink_category&post_type=clink | 3.28 | 32.35 |
Global Settings /wp-admin/edit.php?post_type=clink&page=clink-settings | 3.24 | 28.92 |
Add New /wp-admin/post-new.php?post_type=clink | 3.31 | 39.59 |
All Links /wp-admin/edit.php?post_type=clink | 3.34 | 37.11 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 23 new files
Database: no new tables, 12 new options
New WordPress options |
---|
clink_main_slug |
db_upgraded |
widget_clink |
clink_countdown_option |
clink_countdown_meta_tags |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
clink_countdown_duration |
clink_powered_by_text |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Clink - WordPress Link Manager
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,866 ▲80 | 14.44 ▼0.21 | 1.75 ▼0.27 | 48.35 ▲2.45 |
Dashboard /wp-admin | 2,267 ▲90 | 5.64 ▲0.11 | 92.16 ▼10.48 | 39.02 ▼4.70 |
Posts /wp-admin/edit.php | 2,137 ▲37 | 2.03 ▼0.00 | 39.62 ▲3.72 | 36.80 ▲0.19 |
Add New Post /wp-admin/post-new.php | 1,557 ▲31 | 23.10 ▼0.37 | 673.42 ▼13.08 | 60.27 ▲3.16 |
Media Library /wp-admin/upload.php | 1,434 ▲34 | 4.15 ▼0.02 | 101.66 ▲3.56 | 45.26 ▲1.90 |
Categories /wp-admin/edit-tags.php?taxonomy=clink_category&post_type=clink | 1,311 | 2.12 | 27.02 | 28.40 |
Global Settings /wp-admin/edit.php?post_type=clink&page=clink-settings | 963 | 2.01 | 23.57 | 41.75 |
Add New /wp-admin/post-new.php?post_type=clink | 1,712 | 2.62 | 53.11 | 64.17 |
All Links /wp-admin/edit.php?post_type=clink | 1,133 | 1.98 | 39.52 | 31.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure has failed, leaving 12 options in the database
- widget_clink
- theysaidso_admin_options
- widget_recent-comments
- clink_countdown_option
- clink_powered_by_text
- clink_countdown_meta_tags
- clink_main_slug
- clink_countdown_duration
- can_compress_scripts
- db_upgraded
- ...
Smoke tests 75% 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)
Smoke test failed, please fix the following
- > GET request to /wp-admin/edit.php?post_type=clink&page=clink-settings
- > Notice in wp-content/plugins/clink/inc/admin.php+106
Undefined index: settings-updated
- > GET request to /wp-admin/post-new.php?post_type=clink
- > Notice in wp-content/plugins/clink/inc/meta-box.php+92
Undefined variable: clink_post_countdown_1
- > GET request to /wp-admin/post-new.php?post_type=clink
- > Notice in wp-content/plugins/clink/inc/meta-box.php+93
Undefined variable: clink_post_countdown_0
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Tags: You are using too many tags: 15 tag instead of maximum 10
clink/clink.php 85% from 13 tests
The main PHP file in "Clink - WordPress Link Manager" ver. 1.2.2 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Description: Please keep the plugin description shorter than 140 characters (currently 141 characters long)
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
Success! There were no dangerous files found in this plugin1,775 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 309 | 217 | 913 |
PO File | 2 | 250 | 363 | 473 |
CSS | 4 | 20 | 9 | 354 |
JavaScript | 2 | 3 | 9 | 35 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 3.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 32 | |
▷ Named functions | 32 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin