Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.21MB] [CPU: ▼3.25ms] Passed 4 tests
Server-side resources used by leenk.me
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.22 | 44.49 ▼0.46 |
Dashboard /wp-admin | 3.52 ▲0.21 | 52.67 ▼2.30 |
Posts /wp-admin/edit.php | 3.63 ▲0.27 | 58.57 ▲1.97 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.23 | 92.76 ▼7.56 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 40.00 ▼2.69 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 24 new files
Database: no new tables, 7 new options
New WordPress options |
---|
leenkme |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for leenk.me
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲20 | 14.58 ▲0.41 | 1.69 ▼0.73 | 44.43 ▼4.25 |
Dashboard /wp-admin | 2,197 ▲20 | 5.52 ▼0.16 | 99.64 ▼7.01 | 82.03 ▲37.14 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 2.00 ▼0.01 | 38.46 ▼2.88 | 34.89 ▼3.67 |
Add New Post /wp-admin/post-new.php | 6,246 ▲4,709 | 25.95 ▲7.91 | 1,040.41 ▲338.99 | 65.97 ▼8.62 |
Media Library /wp-admin/upload.php | 1,418 ▲18 | 4.12 ▼0.04 | 112.80 ▼7.97 | 85.49 ▲34.51 |
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
Please fix the following items
- This plugin did not uninstall successfully, leaving 7 options in the database
- theysaidso_admin_options
- can_compress_scripts
- leenkme
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 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 50% from 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
Please fix the following items
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/leenkme/facebook.php:765
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/leenkme/linkedin.php:830
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/leenkme/leenk.me.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/leenkme/twitter.php:670
- > PHP Fatal error
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
Please fix the following attributes:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
leenkme/leenk.me.php 85% from 13 tests
"leenk.me" version 2.16.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 265 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("leenkme.php" instead of "leenk.me.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
Everything looks great! No dangerous files found in this plugin3,561 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 1,318 | 190 | 2,440 |
PO File | 1 | 158 | 177 | 535 |
JavaScript | 5 | 164 | 12 | 316 |
CSS | 2 | 46 | 0 | 270 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 46.25 |
▷ Minimum class complexity | 26.00 |
▷ Maximum class complexity | 82.00 |
Average method complexity | 6.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 37.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 33 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 33 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 33 | |
▷ Named functions | 33 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
7 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/linkedin-16x16.png | 0.33KB | 0.33KB | 0.00% |
images/google+-16x16.png | 0.32KB | 0.34KB | 0.00% |
images/facebook-16x16.png | 0.27KB | 0.28KB | 0.00% |
images/googlebuzz-16x16.png | 0.76KB | 1.00KB | 0.00% |
images/leenkme-logo-32x32.png | 2.97KB | 0.22KB | ▼ 92.53% |