Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
- The plugin cannot be installed
- > Notice in wp-content/plugins/lynk-responder/plugin-lynk-responder.php+17
Undefined variable: wpdb
Server metrics [RAM: ▲0.02MB] [CPU: ▼10.08ms] Passed 4 tests
Analyzing server-side resources used by Lynk Responder
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 37.55 ▼5.22 |
Dashboard /wp-admin | 3.33 ▲0.03 | 48.25 ▼4.80 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 48.97 ▼9.25 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 78.91 ▼21.04 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.05 ▼0.84 |
Server storage [IO: ▲0.53MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Lynk Responder
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲43 | 14.27 ▼0.45 | 1.59 ▼0.12 | 32.87 ▼10.54 |
Dashboard /wp-admin | 2,195 ▲15 | 5.61 ▼0.05 | 92.31 ▲4.31 | 85.65 ▲45.00 |
Posts /wp-admin/edit.php | 2,121 ▲18 | 2.00 ▼0.14 | 39.56 ▼11.48 | 37.15 ▼0.25 |
Add New Post /wp-admin/post-new.php | 1,539 ▲13 | 23.67 ▲0.27 | 655.45 ▼33.93 | 59.07 ▲2.97 |
Media Library /wp-admin/upload.php | 1,412 ▲15 | 4.26 ▲0.08 | 107.33 ▼14.27 | 77.21 ▲28.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 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
Please fix the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/lynk-responder/plugin-lynk-responder.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: smartphone, iphone, app, articles
lynk-responder/plugin-lynk-responder.php 92% from 13 tests
This is the main PHP file of "Lynk Responder" version 1.0.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("lynk-responder.php" instead of "plugin-lynk-responder.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
Everything looks great! No dangerous files found in this plugin661 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 98 | 10 | 620 |
JavaScript | 1 | 5 | 0 | 28 |
CSS | 1 | 1 | 0 | 13 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 20.00 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 38 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 29 | 76.32% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 23.68% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/istruzioni.png | 19.39KB | 8.48KB | ▼ 56.27% |
img/lynk_icon.png | 0.72KB | 0.88KB | 0.00% |