Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼3.65ms] Passed 4 tests
An overview of server-side resources used by Like And Who Likes
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 36.87 ▼7.30 |
Dashboard /wp-admin | 3.40 ▲0.09 | 50.41 ▼2.44 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 53.88 ▲8.63 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 88.88 ▼7.22 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 38.35 ▲2.36 |
Like And Who Likes /wp-admin/options-general.php?page=like-and-who-likes | 3.28 | 34.18 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Like And Who Likes
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,890 ▲144 | 13.59 ▼0.97 | 5.66 ▲3.44 | 39.63 ▼6.55 |
Dashboard /wp-admin | 2,213 ▲25 | 5.88 ▲0.03 | 99.99 ▼5.22 | 38.48 ▼7.46 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.00 ▼0.01 | 35.24 ▼1.93 | 37.38 ▼0.73 |
Add New Post /wp-admin/post-new.php | 1,517 ▼17 | 17.53 ▼5.62 | 694.86 ▼6.54 | 55.11 ▲3.91 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.18 ▼0.03 | 102.28 ▼6.47 | 47.25 ▲0.96 |
Like And Who Likes /wp-admin/options-general.php?page=like-and-who-likes | 829 | 2.06 | 26.09 | 29.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- can_compress_scripts
- 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 shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/like-and-who-likes/includes/class-who-likes-settings.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
7 plugin tags: rate, buddypress, vote, social, like...
like-and-who-likes/like-and-who-likes.php Passed 13 tests
The principal PHP file in "Like And Who Likes" v. 1.3.1 is loaded by WordPress automatically on each request
73 characters long description:
'Like' button and 'Who Likes' list for WordPress, BuddyPress and BBPress.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected394 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 94 | 40 | 343 |
CSS | 1 | 2 | 3 | 31 |
JavaScript | 1 | 5 | 0 | 20 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 30.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 57.00 |
Average method complexity | 3.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.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 | 25 | |
▷ Static methods | 2 | 8.00% |
▷ Public methods | 17 | 68.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 32.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 8 | 100.00% |
▷ Public constants | 8 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected