Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▼0.33MB] [CPU: ▼17.54ms] Passed 4 tests
A check of server-side resources used by Social Media SEO
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 40.25 ▲2.99 |
Dashboard /wp-admin | 3.31 ▼0.04 | 44.79 ▼10.71 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 41.15 ▼5.95 |
Add New Post /wp-admin/post-new.php | 4.60 ▼1.29 | 41.70 ▼55.42 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.54 ▲1.91 |
Social Media SEO /wp-admin/options-general.php?page=wp_btnmenu | 3.17 | 168.12 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
recovery_mode_email_last_sent |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Social Media SEO
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,874 ▲128 | 15.28 ▲0.91 | 59.25 ▲57.56 | 37.04 ▼3.35 |
Dashboard /wp-admin | 2,207 ▲16 | 5.81 ▲0.94 | 96.02 ▼4.11 | 37.15 ▼3.87 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.16 ▲0.11 | 38.94 ▲0.51 | 34.76 ▲1.20 |
Add New Post /wp-admin/post-new.php | 106 ▼1,427 | 2.74 ▼20.36 | 64.45 ▼612.27 | 9.54 ▼46.96 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.28 ▲0.02 | 115.65 ▲15.12 | 88.17 ▲44.79 |
Social Media SEO /wp-admin/options-general.php?page=wp_btnmenu | 970 | 6.55 | 147.45 | 23.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- recovery_mode_email_last_sent
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=wp_btnmenu
- > Notice in wp-content/plugins/social-media-seo/social-media-seo.php+56
Only variables should be passed by reference
- > GET request to /wp-admin/options-general.php?page=wp_btnmenu
- > Notice in wp-content/plugins/social-media-seo/social-media-seo.php+58
Trying to get property 'total_count' of non-object
- > GET request to /wp-admin/options-general.php?page=wp_btnmenu
- > Notice in wp-content/plugins/social-media-seo/social-media-seo.php+59
Trying to get property 'like_count' of non-object
- > GET request to /wp-admin/options-general.php?page=wp_btnmenu
- > Notice in wp-content/plugins/social-media-seo/social-media-seo.php+60
Trying to get property 'comment_count' of non-object
- > GET request to /wp-admin/options-general.php?page=wp_btnmenu
- > Notice in wp-content/plugins/social-media-seo/social-media-seo.php+61
Trying to get property 'share_count' of non-object
- > GET request to /wp-admin/options-general.php?page=wp_btnmenu
- > Notice in wp-content/plugins/social-media-seo/social-media-seo.php+62
Trying to get property 'click_count' of non-object
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
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/social-media-seo/social-media-seo.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
These are user-side errors you should fix
- > GET request to /wp-admin/options-general.php?page=wp_btnmenu
- > Network (severe)
https://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-9329069495351013&output=html&h=90&slotname=1719102769&adk=291153631&adf=454517614&pi=t.ma~as.1719102769&w=728&lmt=1696914954&format=728x90&url=http%3A%2F%2Fwp.com%2Fwp-admin%2Foptions-general.php%3Fpage%3Dwp_btnmenu&ea=0&wgl=1&dt=1696914954067&bpp=4&bdt=255&idt=312&shv=r20231004&mjsv=m202310020101&ptt=9&saldr=aa&abxe=1&correlator=3556904914917&frm=20&pv=2&ga_vid=1582411468.1696914954&ga_sid=1696914954&ga_hid=1972865313&ga_fc=0&u_tz=180&u_his=14&u_h=600&u_w=800&u_ah=600&u_aw=800&u_cd=24&u_sd=1&adx=64&ady=278&biw=800&bih=600&scr_x=0&scr_y=0&eid=44759837%2C44759875%2C44759926%2C31077327%2C42532335%2C44795922%2C44804782%2C44803791&oid=2&pvsid=1993977605672540&tmod=1848317822&uas=0&nvt=1&fc=896&brdim=0%2C0%2C0%2C0%2C800%2C0%2C800%2C600%2C800%2C600&vis=1&rsz=o%7Co%7CpeE%7C&abl=NS&pfx=0&fu=0&bc=23&ifi=1&uci=a!1&fsb=1&dtd=334 - Failed to load resource: the server responded with a status of 400 ()
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== social-media-seo ===
)
social-media-seo/social-media-seo.php Passed 13 tests
The entry point to "Social Media SEO" version 1.2 is a PHP file that has certain tags in its header comment area
79 characters long description:
All the tools to help improve positioning and monitoring of your wordpress blog
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected102 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 33 | 43 | 102 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic 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 | 5 | |
▷ Named functions | 5 | 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