Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.91ms] Passed 4 tests
Analyzing server-side resources used by Link View
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 37.14 ▼3.38 |
Dashboard /wp-admin | 3.34 ▲0.00 | 48.21 ▼9.14 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 44.88 ▼2.06 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 81.80 ▼9.07 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 33.81 ▼0.91 |
Add New /wp-admin/link-add.php | 3.24 | 35.31 |
About LinkView /wp-admin/link-manager.php?page=lvw_admin_about | 3.37 | 31.40 |
LinkView /wp-admin/options-general.php?page=lvw_admin_settings | 3.30 | 33.12 |
All Links /wp-admin/link-manager.php | 3.25 | 32.33 |
Link Categories /wp-admin/edit-tags.php?taxonomy=link_category | 3.35 | 34.75 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 30 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_linkview_widget |
widget_recent-comments |
widget_recent-posts |
widget_links |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Link View
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲60 | 14.42 ▲0.13 | 1.73 ▲0.02 | 44.41 ▲3.55 |
Dashboard /wp-admin | 2,237 ▲57 | 5.62 ▲0.01 | 94.19 ▲3.67 | 45.07 ▲2.76 |
Posts /wp-admin/edit.php | 2,139 ▲39 | 1.96 ▲0.00 | 34.53 ▼1.63 | 36.23 ▼0.42 |
Add New Post /wp-admin/post-new.php | 1,566 ▲38 | 18.02 ▼5.25 | 619.57 ▼17.35 | 75.06 ▲29.95 |
Media Library /wp-admin/upload.php | 1,436 ▲33 | 4.21 ▲0.04 | 97.83 ▲2.17 | 55.61 ▲10.24 |
Add New /wp-admin/link-add.php | 1,661 | 2.56 | 52.10 | 38.10 |
About LinkView /wp-admin/link-manager.php?page=lvw_admin_about | 967 | 1.98 | 24.05 | 34.11 |
LinkView /wp-admin/options-general.php?page=lvw_admin_settings | 1,045 | 2.04 | 22.98 | 31.56 |
All Links /wp-admin/link-manager.php | 1,057 | 1.69 | 28.46 | 29.44 |
Link Categories /wp-admin/edit-tags.php?taxonomy=link_category | 1,316 | 2.27 | 27.56 | 30.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options were found after uninstall: 8 options
- widget_linkview_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- widget_links
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Tags: There are too many tags (23 tag instead of maximum 10)
link-view/link-view.php Passed 13 tests
The main file in "Link View" v. 0.8.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
74 characters long description:
Display a link-list or link-slider in a post or page by using a shortcode.
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
Good job! No executable or dangerous file extensions detected4,199 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 400 | 649 | 1,680 |
PHP | 17 | 373 | 1,098 | 1,643 |
PO File | 1 | 164 | 175 | 732 |
SVG | 1 | 0 | 0 | 82 |
CSS | 2 | 13 | 0 | 62 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 10.94 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 53.00 |
Average method complexity | 2.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 17 | 100.00% |
▷ Final classes | 2 | 11.76% |
Methods | 88 | |
▷ Static methods | 6 | 6.82% |
▷ Public methods | 63 | 71.59% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 25 | 28.41% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 5 | |
▷ Global constants | 2 | 40.00% |
▷ Class constants | 3 | 60.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/flattr-badge-large.png | 2.19KB | 1.04KB | ▼ 52.37% |