Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.58MB] [CPU: ▼2.35ms] Passed 4 tests
This is a short check of server-side resources used by WP ULike - Most Advanced WordPress Marketing Toolkit
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.88 ▲0.42 | 42.17 ▲2.50 |
Dashboard /wp-admin | 3.94 ▲0.64 | 50.75 ▲1.10 |
Posts /wp-admin/edit.php | 4.00 ▲0.64 | 47.65 ▼2.52 |
Add New Post /wp-admin/post-new.php | 6.53 ▲0.64 | 83.99 ▼10.48 |
Media Library /wp-admin/upload.php | 3.87 ▲0.64 | 43.45 ▲9.60 |
Statistics /wp-admin/admin.php?page=wp-ulike-statistics | 3.92 | 47.66 |
Topics Likes Logs /wp-admin/admin.php?page=wp-ulike-topics-logs | 3.84 | 38.16 |
Activity Likes Logs /wp-admin/admin.php?page=wp-ulike-activities-logs | 3.84 | 38.94 |
About /wp-admin/admin.php?page=wp-ulike-about | 3.84 | 38.75 |
Go Pro /wp-admin/admin.php?page=wp-ulike-go-pro | 3.86 | 37.66 |
Post Likes Logs /wp-admin/admin.php?page=wp-ulike-posts-logs | 3.84 | 35.78 |
Comment Likes Logs /wp-admin/admin.php?page=wp-ulike-comments-logs | 3.84 | 39.93 |
Server storage [IO: ▲5.66MB] [DB: ▲0.08MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 332 new files
Database: 5 new tables, 11 new options
New tables |
---|
wp_ulike_activities |
wp_ulike_forums |
wp_ulike |
wp_ulike_comments |
wp_ulike_meta |
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
wp_ulike_dbVersion |
wp_ulike_customize |
wp_ulike_settings |
can_compress_scripts |
widget_wp_ulike |
widget_theysaidso_widget |
wp_ulike_use_inline_custom_css |
widget_recent-comments |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP ULike - Most Advanced WordPress Marketing Toolkit
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,007 ▲246 | 13.47 ▼1.13 | 8.42 ▲6.83 | 42.04 ▼1.70 |
Dashboard /wp-admin | 2,325 ▲145 | 5.51 ▼0.13 | 86.48 ▼8.25 | 36.01 ▼5.75 |
Posts /wp-admin/edit.php | 2,233 ▲133 | 2.02 ▼0.00 | 35.66 ▼3.19 | 31.24 ▼3.92 |
Add New Post /wp-admin/post-new.php | 1,573 ▲45 | 23.17 ▲0.02 | 662.45 ▼5.93 | 61.80 ▲9.11 |
Media Library /wp-admin/upload.php | 1,530 ▲136 | 4.21 ▼0.17 | 97.52 ▼1.40 | 39.89 ▼4.27 |
Statistics /wp-admin/admin.php?page=wp-ulike-statistics | 977 | 1.60 | 10.22 | 52.75 |
Topics Likes Logs /wp-admin/admin.php?page=wp-ulike-topics-logs | 1,018 | 1.60 | 10.57 | 32.72 |
Activity Likes Logs /wp-admin/admin.php?page=wp-ulike-activities-logs | 1,018 | 1.60 | 9.07 | 31.95 |
About /wp-admin/admin.php?page=wp-ulike-about | 1,247 | 2.36 | 29.34 | 59.88 |
Go Pro /wp-admin/admin.php?page=wp-ulike-go-pro | 2,677 | 2.24 | 27.84 | 46.15 |
Developer Tools /wp-admin/admin.php?page=wp-ulike-settings#tab=developer-tools | 3,772 | 6.06 | 91.99 | 129.41 |
Translations /wp-admin/admin.php?page=wp-ulike-settings#tab=translations | 3,504 | 5.03 | 59.71 | 90.82 |
Post Likes Logs /wp-admin/admin.php?page=wp-ulike-posts-logs | 1,018 | 1.42 | 8.72 | 28.71 |
Configuration /wp-admin/admin.php?page=wp-ulike-settings#tab=configuration | 3,616 | 5.47 | 75.74 | 87.50 |
Comment Likes Logs /wp-admin/admin.php?page=wp-ulike-comments-logs | 1,018 | 1.60 | 8.68 | 28.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.08MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- The uninstall procedure failed, leaving 5 tables in the database
- wp_ulike_forums
- wp_ulike_activities
- wp_ulike_comments
- wp_ulike
- wp_ulike_meta
- Zombie WordPress options detected upon uninstall: 11 options
- widget_recent-comments
- wp_ulike_dbVersion
- wp_ulike_settings
- widget_wp_ulike
- can_compress_scripts
- wp_ulike_customize
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- wp_ulike_use_inline_custom_css
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
Almost there! Just fix the following items
- 17× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
- > /wp-content/plugins/wp-ulike/includes/functions/meta.php
- > /wp-content/plugins/wp-ulike/includes/index.php
- > /wp-content/plugins/wp-ulike/includes/functions/utilities.php
- > /wp-content/plugins/wp-ulike/includes/functions/general.php
- > /wp-content/plugins/wp-ulike/admin/admin-functions.php
- > /wp-content/plugins/wp-ulike/admin/admin-ajax.php
- > /wp-content/plugins/wp-ulike/includes/functions/templates.php
- > /wp-content/plugins/wp-ulike/includes/public/index.php
- > /wp-content/plugins/wp-ulike/admin/index.php
- > /wp-content/plugins/wp-ulike/includes/hooks/frontend-ajax.php
- 10× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/wp-ulike/vendor/vectorface/whip/tests/WhipTest.php:36
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\MessageInterface' not found in wp-content/plugins/wp-ulike/vendor/psr/http-message/src/ResponseInterface.php:20
- > PHP Fatal error
Uncaught Error: Interface 'Vectorface\\Whip\\IpRange\\IpRange' not found in wp-content/plugins/wp-ulike/vendor/vectorface/whip/src/IpRange/Ipv6Range.php:34
- > PHP Fatal error
Uncaught Error: Interface 'Vectorface\\Whip\\Request\\RequestAdapter' not found in wp-content/plugins/wp-ulike/vendor/vectorface/whip/src/Request/SuperglobalRequestAdapter.php:32
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/wp-ulike/vendor/vectorface/whip/tests/../vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/wp-ulike/vendor/vectorface/whip/tests/bootstrap.php on line 3
- > PHP Fatal error
Uncaught Error: Interface 'Vectorface\\Whip\\Request\\RequestAdapter' not found in wp-content/plugins/wp-ulike/vendor/vectorface/whip/src/Request/Psr7RequestAdapter.php:32
- > PHP Fatal error
Uncaught Error: Interface 'Vectorface\\Whip\\IpRange\\IpRange' not found in wp-content/plugins/wp-ulike/vendor/vectorface/whip/src/IpRange/Ipv4Range.php:34
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\RequestInterface' not found in wp-content/plugins/wp-ulike/vendor/psr/http-message/src/ServerRequestInterface.php:43
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\MessageInterface' not found in wp-content/plugins/wp-ulike/vendor/psr/http-message/src/RequestInterface.php:24
- > PHP Warning
require_once(wp-content/plugins/wp-ulike/vendor/vectorface/whip/tests/../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/wp-ulike/vendor/vectorface/whip/tests/bootstrap.php on line 3
- > 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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Tags: You are using too many tags: 12 tag instead of maximum 10
wp-ulike/wp-ulike.php 92% from 13 tests
Analyzing the main PHP file in "WP ULike - Most Advanced WordPress Marketing Toolkit" version 4.6.9
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 261 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected65,884 lines of code in 257 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 146 | 4,309 | 6,355 | 18,965 |
JavaScript | 11 | 2,572 | 2,215 | 16,854 |
PO File | 30 | 7,677 | 10,756 | 16,408 |
Sass | 16 | 970 | 3 | 5,674 |
CSS | 8 | 466 | 555 | 5,608 |
SVG | 43 | 0 | 6 | 2,207 |
JSON | 1 | 0 | 0 | 124 |
Markdown | 1 | 12 | 0 | 24 |
XML | 1 | 1 | 0 | 20 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.56 |
Average class complexity | 21.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 148.00 |
Average method complexity | 4.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 9 | |
Traits | 0 | |
Classes | 100 | |
▷ Abstract classes | 3 | 3.00% |
▷ Concrete classes | 97 | 97.00% |
▷ Final classes | 2 | 2.06% |
Methods | 690 | |
▷ Static methods | 117 | 16.96% |
▷ Public methods | 603 | 87.39% |
▷ Protected methods | 28 | 4.06% |
▷ Private methods | 59 | 8.55% |
Functions | 185 | |
▷ Named functions | 179 | 96.76% |
▷ Anonymous functions | 6 | 3.24% |
Constants | 26 | |
▷ Global constants | 16 | 61.54% |
▷ Class constants | 10 | 38.46% |
▷ Public constants | 10 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
23 PNG files occupy 0.86MB with 0.41MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/icons/remove-heart-hover.png | 1.34KB | 0.62KB | ▼ 54.14% |
assets/img/icons/remove-heart.png | 1.32KB | 0.62KB | ▼ 53.22% |
assets/img/icons/add-heart.png | 1.26KB | 0.40KB | ▼ 68.09% |
assets/img/wp-ulike-banner.png | 104.24KB | 39.07KB | ▼ 62.52% |
assets/img/custom-fileds-notifications.png | 6.39KB | 6.38KB | 0.14% |