Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼143.69ms] Passed 4 tests
This is a short check of server-side resources used by Tyme Social Count
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.03 | 33.53 ▼0.87 |
Dashboard /wp-admin | 3.09 ▲0.03 | 42.86 ▼4.87 |
Posts /wp-admin/edit.php | 3.14 ▲0.03 | 47.09 ▼0.28 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.01 | 83.55 ▼568.73 |
Media Library /wp-admin/upload.php | 3.03 ▲0.03 | 36.41 ▲3.40 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Tyme Social Count: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲107 | 15.88 ▲0.17 | 15.33 ▲3.52 | 44.71 ▼4.14 |
Dashboard /wp-admin | 2,970 ▲36 | 5.90 ▼0.02 | 144.12 ▼4.85 | 103.21 ▼7.93 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.72 ▼0.00 | 64.98 ▲0.88 | 88.86 ▲2.25 |
Add New Post /wp-admin/post-new.php | 1,901 ▲297 | 19.05 ▲0.31 | 416.65 ▲26.46 | 109.45 ▲2.44 |
Media Library /wp-admin/upload.php | 1,748 ▼59 | 4.99 ▼0.04 | 160.75 ▼5.34 | 111.67 ▼24.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Uninstall script ran successfully
Smoke tests 75% 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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/tyme-social-count/tyme-social-count.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Tags: Please delete some tags, you are using 14 tag instead of maximum 10
- Screenshots: Add images for these screenshots: #1 (Tyme Social Count returns a simple number for you to style and customize as you see fit.), #2 (Easily customizable and styled to fit your specific theme and/or design.)
tyme-social-count/tyme-social-count.php Passed 13 tests
Analyzing the main PHP file in "Tyme Social Count" version 1.2
99 characters long description:
Displays the total number of social shares from Facebook, Twitter, Pinterest, Google+, and LinkedIn
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected145 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 77 | 68 | 145 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 2.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 85.71% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 14.29% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
There were not PNG files found in your plugin