Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼4.79ms] Passed 4 tests
An overview of server-side resources used by My Social Reach
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 40.52 ▲4.84 |
Dashboard /wp-admin | 3.36 ▲0.06 | 49.90 ▲2.98 |
Posts /wp-admin/edit.php | 3.41 ▲0.06 | 44.63 ▼5.41 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 81.52 ▼17.61 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 35.21 ▲0.90 |
Server storage [IO: ▲0.24MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 14 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_share_links_count |
wp_admin_share_links |
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by My Social Reach
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲44 | 14.33 ▼0.02 | 1.81 ▲0.13 | 43.96 ▲3.06 |
Dashboard /wp-admin | 2,205 ▲30 | 5.51 ▼0.10 | 86.19 ▼16.10 | 38.83 ▼5.48 |
Posts /wp-admin/edit.php | 2,116 ▲13 | 2.03 ▲0.00 | 36.20 ▼5.72 | 34.22 ▼5.22 |
Add New Post /wp-admin/post-new.php | 1,539 ▲13 | 22.83 ▼0.15 | 668.10 ▲27.33 | 62.60 ▼5.59 |
Media Library /wp-admin/upload.php | 1,416 ▲22 | 4.22 ▲0.03 | 103.51 ▲3.48 | 47.12 ▲2.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 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
- Zombie tables were found after uninstall: 2 tables
- wp_admin_share_links
- wp_share_links_count
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
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
The smoke test was a success, however most plugin functionality was not tested
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
Please fix the following items
- 2× PHP files trigger server errors when accessed directly:
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/my-social-reach/backend/config.php on line 7
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/my-social-reach/backend/config.php on line 5
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Add images for these screenshots: #1 (Social sharing), #2 (Choose selected social icons to display)
my-social-reach/igniter.php 85% from 13 tests
The entry point to "My Social Reach" version 1.0.0 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: It is recommended to name the main PHP file as the plugin slug ("my-social-reach.php" instead of "igniter.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
Everything looks great! No dangerous files found in this plugin428 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 116 | 26 | 346 |
CSS | 1 | 0 | 1 | 51 |
JavaScript | 1 | 4 | 0 | 31 |
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.55 |
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 | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.22MB with 0.12MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshots/2.png | 80.03KB | 42.78KB | ▼ 46.54% |
screenshots/1.png | 140.53KB | 52.17KB | ▼ 62.88% |