Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼7.15ms] Passed 4 tests
This is a short check of server-side resources used by wpLike2Get
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 40.09 ▲0.12 |
Dashboard /wp-admin | 3.39 ▲0.08 | 49.72 ▼6.58 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 49.67 ▼0.94 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 87.71 ▼21.20 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 39.71 ▲3.84 |
wpLike2Get /wp-admin/options-general.php?page=wplike2get-settings | 3.12 | 35.68 |
Server storage [IO: ▲0.47MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 27 new files
Database: no new tables, 7 new options
New WordPress options |
---|
wplike2get_settings |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
wpLike2Get: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲34 | 14.69 ▲0.34 | 1.67 ▲0.07 | 39.52 ▼0.37 |
Dashboard /wp-admin | 2,199 ▲19 | 5.62 ▲0.02 | 91.55 ▼3.86 | 40.75 ▼3.43 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.02 ▲0.00 | 34.86 ▼4.62 | 34.27 ▼2.39 |
Add New Post /wp-admin/post-new.php | 1,530 ▲4 | 22.83 ▼0.39 | 680.11 ▲10.67 | 56.12 ▲1.81 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.24 ▲0.04 | 107.10 ▲4.47 | 49.64 ▲2.69 |
wpLike2Get /wp-admin/options-general.php?page=wplike2get-settings | 2,026 | 2.39 | 51.86 | 44.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=wplike2get-settings
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=wplike2get-settings
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
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
- 3× 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/wplike2get/meta-boxes.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wplike2get/settings.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wplike2get/wpLike2Get.php:41
- > PHP Fatal error
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 90% 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
Attributes that need to be fixed:
- Tags: You are using too many tags: 11 tag instead of maximum 10
- Screenshots: Add images for these screenshots: #1 (wpLike2Get settings excerpt), #2 (The wpLike2Get option in the media-uploader), #3 (Example layout of all the social media buttons), #4 (Example layout of the download link after facebook like)
wplike2get/wpLike2Get.php 92% from 13 tests
The principal PHP file in "wpLike2Get" v. 1.2.9 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wplike2get.php" instead of "wpLike2Get.php")
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
Good job! No executable or dangerous file extensions detected2,079 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 112 | 285 | 867 |
PO File | 3 | 290 | 626 | 664 |
JavaScript | 6 | 59 | 79 | 416 |
LESS | 2 | 28 | 4 | 130 |
CSS | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 32 | |
▷ Named functions | 32 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.28MB with 0.20MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 58.81KB | 18.15KB | ▼ 69.13% |
screenshot-1.png | 91.16KB | 31.02KB | ▼ 65.97% |
screenshot-4.png | 84.29KB | 22.72KB | ▼ 73.04% |
screenshot-2.png | 55.13KB | 16.67KB | ▼ 69.76% |