Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼1.59ms] Passed 4 tests
Analyzing server-side resources used by Social Tracker
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 36.96 ▼3.70 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.24 ▼3.53 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.82 ▲2.00 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 92.56 ▲6.08 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.17 ▼1.12 |
Social Tracker /wp-admin/options-general.php?page=social_tracker | 3.23 | 32.64 |
Server storage [IO: ▲0.84MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Social Tracker
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.25 ▼1.15 | 1.82 ▼0.60 | 40.51 ▼12.16 |
Dashboard /wp-admin | 2,210 ▲28 | 5.90 ▲0.04 | 105.74 ▼19.60 | 42.03 ▼2.57 |
Posts /wp-admin/edit.php | 2,093 ▲7 | 2.01 ▼0.04 | 40.63 ▲5.63 | 35.52 ▼0.37 |
Add New Post /wp-admin/post-new.php | 1,536 ▲3 | 23.38 ▲0.11 | 633.30 ▼34.32 | 52.49 ▼1.30 |
Media Library /wp-admin/upload.php | 1,386 ▼2 | 4.23 ▼0.03 | 95.99 ▼18.03 | 46.84 ▼3.59 |
Social Tracker /wp-admin/options-general.php?page=social_tracker | 2,245 | 7.35 | 134.21 | 100.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/social-tracker/class/our_plugins.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/social-tracker/social-tracker.php:12
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following user-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=social_tracker
- > Network (severe)
wp-admin/admin-ajax.php - Failed to load resource: the server responded with a status of 400 (Bad Request)
- > GET request to /wp-admin/options-general.php?page=social_tracker
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'ambient-light-sensor'.
- > GET request to /wp-admin/options-general.php?page=social_tracker
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'bluetooth'.
- > GET request to /wp-admin/options-general.php?page=social_tracker
- > 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'.
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=social_tracker
- > Network (severe)
https://click2check.net/click2checklight?url= - Failed to load resource: the server responded with a status of 404 ()
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
10 plugin tags: track, google plus, facebook, social, alexa...
social-tracker/social-tracker.php Passed 13 tests
The main PHP file in "Social Tracker" ver. 1.2 adds more information about the plugin and also serves as the entry point for this plugin
81 characters long description:
Track your website's social and SEO ranking daily data to know your sites growth.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected8,180 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 5 | 31 | 29 | 6,214 |
JavaScript | 3 | 588 | 279 | 1,567 |
SVG | 1 | 0 | 0 | 229 |
PHP | 2 | 43 | 13 | 170 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.06 |
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 | 4 | |
▷ Named functions | 4 | 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
There were not PNG files found in your plugin