Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼5.99ms] Passed 4 tests
Analyzing server-side resources used by WP Link List
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 33.90 ▼3.96 |
Dashboard /wp-admin | 3.41 ▲0.10 | 48.51 ▼5.46 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 50.13 ▼0.54 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 86.40 ▼13.44 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 35.51 ▼1.11 |
All Links /wp-admin/edit.php?post_type=links | 3.38 | 39.59 |
WP Link List /wp-admin/options-general.php?page=wpll-setting | 3.28 | 33.37 |
Add New /wp-admin/post-new.php?post_type=links | 3.41 | 46.55 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by WP Link List
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲68 | 14.34 ▼0.29 | 1.60 ▲0.08 | 41.00 ▼5.15 |
Dashboard /wp-admin | 2,233 ▲56 | 5.68 ▲0.08 | 88.92 ▲0.54 | 41.66 ▲0.49 |
Posts /wp-admin/edit.php | 2,138 ▲38 | 2.07 ▲0.05 | 35.27 ▼4.73 | 33.87 ▼4.32 |
Add New Post /wp-admin/post-new.php | 1,556 ▲30 | 23.19 ▲0.02 | 630.02 ▼63.38 | 60.81 ▼0.10 |
Media Library /wp-admin/upload.php | 1,435 ▲41 | 4.29 ▲0.13 | 103.64 ▼9.04 | 43.76 ▼4.40 |
All Links /wp-admin/edit.php?post_type=links | 1,099 | 1.97 | 32.26 | 33.06 |
WP Link List /wp-admin/options-general.php?page=wpll-setting | 1,025 | 1.72 | 25.25 | 35.12 |
Add New /wp-admin/post-new.php?post_type=links | 1,725 | 3.90 | 64.04 | 48.53 |
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
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- 22 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wpll-setting
- > Notice in wp-content/plugins/wp-link-list/wp-link-list.php+217
Trying to access array offset on value of type bool
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
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/wp-link-list/wp-link-list.php:39
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
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
Attributes that require attention:
- Donate link: Please fix this invalid url: ""
wp-link-list/wp-link-list.php Passed 13 tests
"WP Link List" version 0.2.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
57 characters long description:
WP Link List is shortcode base generate link list plugin.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin473 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 89 | 93 | 315 |
PO File | 1 | 38 | 43 | 99 |
Sass | 3 | 15 | 3 | 54 |
CSS | 3 | 0 | 0 | 3 |
JavaScript | 1 | 0 | 7 | 2 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 25.00 |
▷ Minimum class complexity | 25.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 2.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.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 | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 18 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin