Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼3.09ms] Passed 4 tests
Server-side resources used by WP Social Meta
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 39.94 ▲1.10 |
Dashboard /wp-admin | 3.34 ▲0.04 | 43.48 ▼3.01 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 46.35 ▼1.75 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 86.11 ▼7.00 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 35.08 ▼0.59 |
Server storage [IO: ▲0.80MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for WP Social Meta
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,878 ▲143 | 13.60 ▼1.01 | 2.85 ▲1.22 | 53.21 ▲5.09 |
Dashboard /wp-admin | 2,226 ▲41 | 5.86 ▲0.02 | 101.35 ▼0.76 | 39.23 ▼1.57 |
Posts /wp-admin/edit.php | 2,112 ▲23 | 2.05 ▲0.05 | 41.55 ▲2.63 | 35.23 ▼2.73 |
Add New Post /wp-admin/post-new.php | 6,512 ▲4,984 | 20.34 ▲1.91 | 846.40 ▲206.82 | 66.74 ▲6.99 |
Media Library /wp-admin/upload.php | 1,402 ▲23 | 4.21 ▲0.00 | 96.44 ▼7.05 | 42.97 ▼1.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-social-meta/wpsm.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Facebook preview using wp-social-meta plugin.), #2 (Google plus preview using wp-social-meta plugin.), #3 (Twitter preview using wp-social-meta plugin.), #4 (Add social meta information from WordPress dashboard in post or in page.), #5 (Add default social meta information in WordPress dashboard WP Social Meta settings.), #6 (Getting social meta when posting on Facebook.), #7 (Google plus social meta preview.)
- Tags: There are too many tags (15 tag instead of maximum 10)
wp-social-meta/wpsm.php 85% from 13 tests
The main PHP file in "WP Social Meta" ver. 1.0.1 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("wp-social-meta.php" instead of "wpsm.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 374 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected231 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 41 | 26 | 188 |
JavaScript | 2 | 14 | 1 | 43 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
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 | 10 | |
▷ Named functions | 10 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.10MB with 0.06MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-7.png | 106.83KB | 41.46KB | ▼ 61.19% |