Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
It is recommended to fix the following installer errors
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/last-comments-without-links/index.php+139
Function create_function() is deprecated
Server metrics [RAM: ▼1.96MB] [CPU: ▼53.66ms] Passed 4 tests
This is a short check of server-side resources used by Last Comments Without Links
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.43 | 4.84 ▼36.96 |
Dashboard /wp-admin | 2.05 ▼1.26 | 7.38 ▼42.86 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 5.94 ▼40.36 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 5.86 ▼94.46 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 5.58 ▼27.24 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_sinlastcomments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Last Comments Without Links
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.57 ▼1.12 | 1.95 ▲0.15 | 40.75 ▼5.04 |
Dashboard /wp-admin | 2,203 ▲11 | 5.83 ▲0.88 | 97.42 ▼15.27 | 37.82 ▼4.11 |
Posts /wp-admin/edit.php | 2,089 ▲3 | 1.97 ▼0.05 | 33.27 ▲0.04 | 34.79 ▲0.14 |
Add New Post /wp-admin/post-new.php | 1,514 ▼19 | 17.53 ▼5.66 | 613.69 ▼13.61 | 52.67 ▼7.33 |
Media Library /wp-admin/upload.php | 1,382 ▼6 | 4.20 ▼0.06 | 97.67 ▼0.77 | 41.07 ▼0.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/last-comments-without-links/index.php+139
Function create_function() is deprecated
- This plugin did not uninstall successfully, leaving 7 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_sinlastcomments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/last-comments-without-links/index.php:30
- > 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 87% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Screenshots: Screenshot #1 (Widget Screenshot) image not found
- Screenshots: A description for screenshot #0 is required in last-comments-without-links/assets to your readme.txt
last-comments-without-links/index.php 85% from 13 tests
Analyzing the main PHP file in "Last Comments Without Links" version 1.0
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 496 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("last-comments-without-links.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected60 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 39 | 47 | 60 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.03 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 0 | |
▷ Named functions | 0 | 0.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 9.43KB | 3.88KB | ▼ 58.89% |