Benchmarks
Plugin footprint 57% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
These installer errors require your attention
- The plugin did not install without errors
- > Parse error in wp-content/plugins/ruven-themes-social-widget/ruven-themes-social-widget.php+175
syntax error, unexpected '}', expecting end of file
Server metrics [RAM: ▲0.00MB] [CPU: ▼0.80ms] Passed 4 tests
Analyzing server-side resources used by Ruven Themes: Social Widget
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 38.86 ▼1.46 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.93 ▼1.71 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 43.51 ▲0.11 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 90.83 ▲7.02 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.35 ▼0.15 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
These are issues you should consider
- You have illegally modified 2 files (0.00KB) outside of "wp-content/plugins/ruven-themes-social-widget/" and "wp-content/uploads/"
- (new file) "wp-content/plugins/ruven-themes-social-widget/assets/icon-256\303\227256.png"
- (new file) "wp-content/plugins/ruven-themes-social-widget/assets/icon-128\303\227128.png"
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Ruven Themes: Social Widget
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.24 ▼1.43 | 1.87 ▲0.02 | 44.94 ▼2.81 |
Dashboard /wp-admin | 2,209 ▲18 | 5.87 ▲1.03 | 98.11 ▼10.53 | 40.96 ▼4.10 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▼0.03 | 43.33 ▲8.80 | 38.90 ▲3.31 |
Add New Post /wp-admin/post-new.php | 1,533 ▼12 | 23.14 ▲4.83 | 633.76 ▲17.36 | 55.37 ▲5.55 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.24 ▲0.03 | 95.74 ▼1.02 | 42.12 ▲0.83 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Parse error
syntax error, unexpected '}', expecting end of file in wp-content/plugins/ruven-themes-social-widget/ruven-themes-social-widget.php on line 175
- > PHP Parse error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
3 plugin tags: social widget, social links, social buttons
ruven-themes-social-widget/ruven-themes-social-widget.php Passed 13 tests
The entry point to "Ruven Themes: Social Widget" version 1.0 is a PHP file that has certain tags in its header comment area
68 characters long description:
Extends the functionality of Ruven Themes by adding a social widget.
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
There were no executable files found in this plugin319 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 69 | 37 | 154 |
JSON | 1 | 0 | 0 | 98 |
CSS | 1 | 3 | 10 | 41 |
SVG | 1 | 0 | 0 | 26 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
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 | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-256×256.png | 5.06KB | 1.87KB | ▼ 63.06% |
assets/icon-128×128.png | 5.59KB | 2.64KB | ▼ 52.89% |