Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.59ms] Passed 4 tests
A check of server-side resources used by Social Media Meta Tags
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.43 ▼0.03 | 25.64 ▼19.25 |
Dashboard /wp-admin | 3.36 ▲0.05 | 53.59 ▲0.42 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 52.06 ▲2.64 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 87.47 ▼4.82 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 35.31 ▲1.29 |
SocialMedia Meta Tags /wp-admin/options-general.php?page=social-meta-tags-main-menu | 3.22 | 31.12 |
Server storage [IO: ▲1.45MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 17 new files
Database: no new tables, 7 new options
New WordPress options |
---|
social-meta-tags |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Social Media Meta Tags: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,848 ▲102 | 13.22 ▼1.46 | 1.60 ▼0.45 | 42.95 ▼1.67 |
Dashboard /wp-admin | 2,214 ▲23 | 4.84 ▼1.02 | 103.25 ▼13.37 | 40.70 ▼1.82 |
Posts /wp-admin/edit.php | 2,100 ▲11 | 2.01 ▲0.04 | 38.24 ▼2.50 | 36.50 ▲0.88 |
Add New Post /wp-admin/post-new.php | 6,287 ▲4,768 | 21.76 ▼1.29 | 905.90 ▲189.77 | 83.96 ▲25.02 |
Media Library /wp-admin/upload.php | 1,396 ▲11 | 4.23 ▼0.01 | 96.46 ▼17.00 | 41.96 ▼9.45 |
SocialMedia Meta Tags /wp-admin/options-general.php?page=social-meta-tags-main-menu | 834 | 2.20 | 28.15 | 25.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- theysaidso_admin_options
- db_upgraded
- social-meta-tags
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=social-meta-tags-main-menu
- > Notice in wp-content/plugins/facebook-ogg-meta-tags/metaTags/metaTags.php+170
Undefined index: enabled
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 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/facebook-ogg-meta-tags/metaTags/metaTags.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
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
Attributes that need to be fixed:
- Screenshots: Add an image for screenshot #1 (Social Meta Tags - admin panel)
facebook-ogg-meta-tags/index.php 92% from 13 tests
The main file in "Social Media Meta Tags" v. 1.8 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("facebook-ogg-meta-tags.php" instead of "index.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 plugin460 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 11 | 24 | 259 |
CSS | 2 | 4 | 0 | 201 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 1.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
9 PNG files occupy 1.44MB with 0.65MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
metaTags/images/32.png | 1.81KB | 0.68KB | ▼ 62.51% |
metaTags/images/512.png | 1.07KB | 0.68KB | ▼ 36.47% |
screenshot-3.png | 529.27KB | 126.74KB | ▼ 76.05% |
metaTags/images/facebook.png | 0.75KB | 0.53KB | ▼ 29.73% |
metaTags/images/linkedin.png | 0.77KB | 0.61KB | ▼ 20.53% |