Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
These installer errors require your attention
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/social-profilr-reimagined/socialprofilrreimagined.php+19
Methods with the same name as their class will not be constructors in a future version of PHP; SocialprofilrClass has a deprecated constructor
Server metrics [RAM: ▼1.84MB] [CPU: ▼50.75ms] Passed 4 tests
An overview of server-side resources used by Social Profilr Reimagined
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.15 ▼1.31 | 5.29 ▼36.71 |
Dashboard /wp-admin | 2.17 ▼1.13 | 6.15 ▼40.59 |
Posts /wp-admin/edit.php | 2.17 ▼1.19 | 5.49 ▼40.24 |
Add New Post /wp-admin/post-new.php | 2.17 ▼3.72 | 5.95 ▼85.46 |
Media Library /wp-admin/upload.php | 2.17 ▼1.06 | 5.11 ▼31.37 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 28 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
SocialprofilrOptions |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Social Profilr Reimagined
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲72 | 13.23 ▼1.15 | 1.70 ▼0.10 | 42.42 ▼4.54 |
Dashboard /wp-admin | 2,207 ▲22 | 5.83 ▲0.03 | 101.31 ▼9.21 | 42.43 ▼0.15 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.02 ▲0.04 | 37.27 ▼2.95 | 30.45 ▼3.53 |
Add New Post /wp-admin/post-new.php | 1,523 ▼10 | 23.26 ▲0.07 | 592.04 ▼98.64 | 59.69 ▼1.11 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.20 ▼0.10 | 94.98 ▼10.46 | 42.89 ▼2.56 |
Social Profilr Reimagined /wp-admin/socialprofilrreimagined.php | 26 | 0.44 | 0.09 | 12.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/social-profilr-reimagined/socialprofilrreimagined.php+19
Methods with the same name as their class will not be constructors in a future version of PHP; SocialprofilrClass has a deprecated constructor
- This plugin did not uninstall successfully, leaving 7 options in the database
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- SocialprofilrOptions
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 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 fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/social-profilr-reimagined/socialprofilrreimagined.php:125
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please take a look at the following user-side issues
- > GET request to /wp-admin/socialprofilrreimagined.php
- > Network (severe)
wp-admin/socialprofilrreimagined.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
7 plugin tags: bookmark, social profile, social bookmarks, social, social profile link...
social-profilr-reimagined/socialprofilrreimagined.php 92% from 13 tests
The main file in "Social Profilr Reimagined" v. 2.2.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("social-profilr-reimagined.php" instead of "socialprofilrreimagined.php")
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
Success! There were no dangerous files found in this plugin429 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 106 | 45 | 429 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 26.00 |
▷ Minimum class complexity | 26.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 3.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.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 | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
26 compressed PNG files occupy 0.05MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/li_32.png | 2.97KB | 2.34KB | ▼ 21.10% |
images/li_16.png | 1.30KB | 1.43KB | 0.00% |
images/be_16.png | 1.20KB | 1.34KB | 0.00% |
images/fr_16.png | 1.29KB | 1.34KB | 0.00% |
images/ms_16.png | 1.24KB | 1.40KB | 0.00% |