Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The following installer errors require your attention
- Install procedure validation failed for this plugin
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method social_fellow::activation() should not be called statically
Server metrics [RAM: ▲0.04MB] [CPU: ▼2.24ms] Passed 4 tests
This is a short check of server-side resources used by Social Fellow
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 39.59 ▼11.51 |
Dashboard /wp-admin | 3.35 ▲0.04 | 48.14 ▼0.22 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 51.41 ▲1.13 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 97.99 ▲1.66 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 37.58 ▲4.22 |
Social Fellow /wp-admin/options-general.php?page=socialfellow | 3.21 | 31.83 |
Server storage [IO: ▲0.26MB] [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/social-fellow/" and "wp-content/uploads/"
- (new file) "wp-content/plugins/social-fellow/assets/banner-772\303\227250.png"
- (new file) "wp-content/plugins/social-fellow/assets/banner-1544\303\227500.png"
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Social Fellow
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲62 | 14.76 ▲0.08 | 1.98 ▼0.13 | 42.09 ▼2.37 |
Dashboard /wp-admin | 2,214 ▲23 | 6.03 ▲1.17 | 113.74 ▲12.12 | 39.86 ▼3.33 |
Posts /wp-admin/edit.php | 2,100 ▲11 | 2.02 ▲0.02 | 41.11 ▲0.28 | 36.02 ▼3.71 |
Add New Post /wp-admin/post-new.php | 1,521 ▼7 | 17.40 ▼0.70 | 624.77 ▲22.12 | 59.45 ▲1.42 |
Media Library /wp-admin/upload.php | 1,396 ▲8 | 4.36 ▲0.16 | 99.63 ▼6.57 | 41.27 ▼2.28 |
Social Fellow /wp-admin/options-general.php?page=socialfellow | 1,270 | 8.26 | 323.13 | 59.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- The plugin did not uninstall gracefully
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method social_fellow::deactivation() should not be called statically
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=socialfellow
- > 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=socialfellow
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=socialfellow
- > Notice in wp-content/plugins/social-fellow/social-fellow.php+202
Undefined index: limit
- > GET request to /wp-admin/options-general.php?page=socialfellow
- > Notice in wp-content/plugins/social-fellow/social-fellow.php+231
Undefined variable: selected_limit_20
- > GET request to /wp-admin/options-general.php?page=socialfellow
- > Notice in wp-content/plugins/social-fellow/social-fellow.php+232
Undefined variable: selected_limit_50
- > GET request to /wp-admin/options-general.php?page=socialfellow
- > Notice in wp-content/plugins/social-fellow/social-fellow.php+233
Undefined variable: selected_limit_100
- > GET request to /wp-admin/options-general.php?page=socialfellow
- > Notice in wp-content/plugins/social-fellow/social-fellow.php+234
Undefined variable: selected_limit_all
- > GET request to /wp-admin/options-general.php?page=socialfellow
- > Notice in wp-content/plugins/social-fellow/social-fellow.php+251
Undefined index: pa
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
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/social-fellow/social-fellow.php:27
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There are user-side issues you should fix
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=socialfellow
- > Other (severe) in unknown
chrome-error://chromewebdata/ - Refused to display 'https://developers.google.com/' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
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
Attributes that need to be fixed:
- Plugin Name: You should set the name of your plugin on the first line (
=== social-fellow ===
)
social-fellow/social-fellow.php 92% from 13 tests
Analyzing the main PHP file in "Social Fellow" version 2.1.0
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 193 characters long)
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
No dangerous file extensions were detected225 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 60 | 51 | 208 |
CSS | 1 | 1 | 0 | 11 |
JavaScript | 1 | 1 | 0 | 6 |
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 issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 1.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.16MB with 0.09MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/banner-1544×500.png | 77.79KB | 34.59KB | ▼ 55.53% |
assets/banner-772×250.png | 42.78KB | 18.25KB | ▼ 57.33% |
assets/screenshot-2.png | 48.13KB | 24.01KB | ▼ 50.11% |