Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼4.34ms] Passed 4 tests
Server-side resources used by Techlineinfo Social Count and Share
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 36.89 ▼4.72 |
Dashboard /wp-admin | 3.36 ▲0.06 | 46.40 ▼0.08 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 50.79 ▼2.06 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 92.28 ▼8.64 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 36.08 ▼1.93 |
Server storage [IO: ▲0.70MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 21 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
msssh_options |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Techlineinfo Social Count and Share
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,928 ▲182 | 13.62 ▼0.68 | 7.31 ▲5.59 | 40.81 ▼3.04 |
Dashboard /wp-admin | 2,223 ▲35 | 5.80 ▼0.08 | 95.95 ▼11.68 | 71.26 ▲28.31 |
Posts /wp-admin/edit.php | 2,106 ▲17 | 2.04 ▲0.04 | 37.59 ▲1.15 | 33.42 ▲1.17 |
Add New Post /wp-admin/post-new.php | 1,529 ▼4 | 17.56 ▼5.68 | 667.75 ▲0.79 | 51.60 ▼5.28 |
Media Library /wp-admin/upload.php | 1,408 ▲23 | 4.13 ▼0.06 | 93.32 ▼19.10 | 68.54 ▲19.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
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
Even though everything seems fine, this is not an exhaustive test
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
Almost there! Just fix the following items
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/techlineinfo-social-count/msssh-calling.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/techlineinfo-social-count/msssh-calling.php:19
- > PHP Fatal 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)
There were no browser issues found
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
Please fix the following attributes:
- Tags: Please delete some tags, you are using 17 tag instead of maximum 10
techlineinfo-social-count/msssh.php 85% from 13 tests
Analyzing the main PHP file in "Techlineinfo Social Count and Share" version 1.0.4
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("techlineinfo-social-count.php" instead of "msssh.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 141 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin1,882 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 53 | 73 | 701 |
SVG | 1 | 0 | 0 | 520 |
CSS | 4 | 12 | 16 | 338 |
PHP | 4 | 25 | 35 | 323 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
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 | 14 | |
▷ Named functions | 14 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/default_logo.png | 5.02KB | 2.88KB | ▼ 42.67% |
images/techline.png | 0.41KB | 0.33KB | ▼ 18.91% |