Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.99ms] Passed 4 tests
Analyzing server-side resources used by Add Google Social Profiles to Knowledge Graph Box
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 39.42 ▼3.75 |
Dashboard /wp-admin | 3.31 ▲0.01 | 47.14 ▼7.65 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 54.86 ▲6.67 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 85.50 ▼11.46 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.65 ▲2.89 |
Server storage [IO: ▲1.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Add Google Social Profiles to Knowledge Graph Box
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲44 | 14.35 ▲0.07 | 1.73 ▼0.06 | 38.85 ▼5.37 |
Dashboard /wp-admin | 2,214 ▲37 | 5.66 ▲0.13 | 86.80 ▼13.25 | 40.31 ▼3.80 |
Posts /wp-admin/edit.php | 2,119 ▲16 | 2.02 ▲0.02 | 34.41 ▼0.86 | 35.06 ▼2.51 |
Add New Post /wp-admin/post-new.php | 1,539 ▲11 | 23.43 ▲0.36 | 644.38 ▼44.04 | 73.04 ▲23.41 |
Media Library /wp-admin/upload.php | 1,416 ▲13 | 4.20 ▲0.00 | 95.81 ▼14.37 | 43.52 ▼2.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
Please fix the following items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/add-google-social-profiles-to-knowledge-graph-box/google-social-profiles.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/add-google-social-profiles-to-knowledge-graph-box/gsp-options.php:2
- > 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)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Screenshots: These screenshots require images: #1 (Modified settings panel with Google Social Profiles.), #2 (How Social Profiles look on the search results)
add-google-social-profiles-to-knowledge-graph-box/google-social-profiles.php 92% from 13 tests
"Add Google Social Profiles to Knowledge Graph Box" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("add-google-social-profiles-to-knowledge-graph-box.php" instead of "google-social-profiles.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin255 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 22 | 15 | 255 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
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 | 3 | |
▷ Named functions | 3 | 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 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 1.01MB with 0.64MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 68.75KB | 22.25KB | ▼ 67.63% |
screenshot-2.png | 962.74KB | 391.81KB | ▼ 59.30% |