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
Installer ran successfully
Server metrics [RAM: ▲0.17MB] [CPU: ▼6.79ms] Passed 4 tests
This is a short check of server-side resources used by Social Semantic Recommendation (SOSERE)
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 42.96 ▼0.17 |
Dashboard /wp-admin | 3.49 ▲0.18 | 49.95 ▼9.65 |
Posts /wp-admin/edit.php | 3.60 ▲0.24 | 46.36 ▼3.91 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.18 | 84.79 ▼13.41 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 36.65 ▲1.58 |
SOSERE /wp-admin/options-general.php?page=sosere-settings | 3.40 | 37.82 |
Server storage [IO: ▲0.36MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 24 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
plugin_sosere |
plugin_sosere_activated |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Social Semantic Recommendation (SOSERE): 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,806 ▲71 | 13.29 ▼1.13 | 1.72 ▲0.01 | 43.98 ▼2.12 |
Dashboard /wp-admin | 2,207 ▲19 | 4.80 ▼0.10 | 114.89 ▲8.09 | 42.48 ▼4.25 |
Posts /wp-admin/edit.php | 2,096 ▲4 | 1.99 ▼0.05 | 42.23 ▲1.45 | 48.43 ▲9.80 |
Add New Post /wp-admin/post-new.php | 1,540 ▲6 | 23.40 ▲0.24 | 660.38 ▼22.05 | 48.40 ▼13.32 |
Media Library /wp-admin/upload.php | 1,395 ▲10 | 4.15 ▼0.05 | 96.27 ▼4.31 | 42.92 ▼4.76 |
SOSERE /wp-admin/options-general.php?page=sosere-settings | 1,608 | 3.42 | 51.25 | 70.45 |
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
- The uninstall procedure has failed, leaving 8 options in the database
- widget_recent-comments
- plugin_sosere
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- plugin_sosere_activated
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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 fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/social-semantic-recommendation-sosere/sosere_lib/languages.ini.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/social-semantic-recommendation-sosere/social-semantic-recommendation-sosere.php:34
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Tags: You are using too many tags: 15 tag instead of maximum 10
social-semantic-recommendation-sosere/social-semantic-recommendation-sosere.php 85% from 13 tests
The main PHP file in "Social Semantic Recommendation (SOSERE)" ver. 3.1.2 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 209 characters long)
- Domain Path: You should use only dashes and lowercase characters for the domain path ("/sosere_languages/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin2,304 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 249 | 484 | 1,199 |
PO File | 5 | 440 | 1,066 | 935 |
CSS | 2 | 17 | 5 | 101 |
JavaScript | 1 | 17 | 27 | 69 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.69 |
Average class complexity | 109.33 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 177.00 |
Average method complexity | 7.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 47.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 48 | |
▷ Static methods | 1 | 2.08% |
▷ Public methods | 44 | 91.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 8.33% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
5 PNG files occupy 0.15MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
sosere_img/admin-viewstyle2.png | 72.13KB | 11.03KB | ▼ 84.71% |
sosere_img/admin-viewstyle1.png | 72.77KB | 11.19KB | ▼ 84.62% |
sosere_img/sosere-logo30x30.png | 5.95KB | 1.30KB | ▼ 78.21% |
sosere_img/admin-icon-edit.png | 0.49KB | 0.42KB | ▼ 13.83% |
sosere_img/admin-viewstyle0.png | 4.42KB | 0.63KB | ▼ 85.85% |