Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
These installer errors require your attention
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/gc-social-wall/Admin/Base.php+23
Trying to access array offset on value of type null
Server metrics [RAM: ▼1.91MB] [CPU: ▼59.75ms] Passed 4 tests
Analyzing server-side resources used by GC Social Wall
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.07 ▼1.39 | 5.38 ▼40.58 |
Dashboard /wp-admin | 2.09 ▼1.21 | 6.07 ▼46.95 |
Posts /wp-admin/edit.php | 2.09 ▼1.26 | 6.77 ▼52.98 |
Add New Post /wp-admin/post-new.php | 2.09 ▼3.79 | 7.26 ▼98.48 |
Media Library /wp-admin/upload.php | 2.09 ▼1.14 | 6.43 ▼32.13 |
Setting /wp-admin/admin.php?page=setting | 2.09 | 5.82 |
GC Social Wall /wp-admin/admin.php?page=gc_social_wall | 2.09 | 7.19 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 46 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
globals_brick_gutter |
globals_brick_width |
Browser metrics Passed 4 tests
An overview of browser requirements for GC Social Wall
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,120 ▲359 | 15.58 ▲1.28 | 9.83 ▲7.86 | 40.34 ▼1.32 |
Dashboard /wp-admin | 2,415 ▲212 | 6.62 ▲1.59 | 123.26 ▲14.30 | 37.61 ▼6.32 |
Posts /wp-admin/edit.php | 2,317 ▲214 | 3.64 ▲1.66 | 55.08 ▲11.49 | 39.09 ▲0.86 |
Add New Post /wp-admin/post-new.php | 1,570 ▲25 | 23.15 ▼0.23 | 606.78 ▼126.15 | 34.98 ▼65.87 |
Media Library /wp-admin/upload.php | 1,451 ▲51 | 4.47 ▲0.23 | 85.11 ▼26.61 | 46.71 ▼0.74 |
Setting /wp-admin/admin.php?page=setting | 1,097 | 3.57 | 48.46 | 30.58 |
GC Social Wall /wp-admin/admin.php?page=gc_social_wall | 2,027 | 3.75 | 61.28 | 28.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/gc-social-wall/Admin/Base.php+23
Trying to access array offset on value of type null
- Zombie WordPress options detected upon uninstall: 8 options
- widget_theysaidso_widget
- globals_brick_gutter
- theysaidso_admin_options
- globals_brick_width
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=gc_social_wall
- > POST request to /wp-admin/admin-ajax.php?action=loadShortCode
- > Notice in wp-content/plugins/gc-social-wall/Admin/Base.php+23
Trying to access array offset on value of type null
- > GET request to /wp-admin/admin.php?page=gc_social_wall
- > Notice in wp-content/plugins/gc-social-wall/Wall/Page.php+55
Undefined variable: handle
- > GET request to /wp-admin/admin.php?page=gc_social_wall
- > Notice in wp-content/plugins/gc-social-wall/Wall/Page.php+55
Undefined variable: object_name
- > GET request to /wp-admin/admin.php?page=gc_social_wall
- > Notice in wp-content/plugins/gc-social-wall/Wall/Page.php+55
Undefined variable: l10n
- > GET request to /wp-admin/admin.php?page=gc_social_wall
- > User notice in wp-includes/functions.php+5905
Function WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see Debugging in WordPress for more information. (This message was added in version 5.7.0.)
- 22 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=gc_social_wall
- > Notice in wp-content/plugins/gc-social-wall/Controls/Checkbox.php+34
Undefined index: label
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 15× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Controls\\Control' not found in wp-content/plugins/gc-social-wall/Controls/Checkbox.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/gc-social-wall/__.php:4
- > PHP Fatal error
Uncaught Error: Class 'Controls\\Control' not found in wp-content/plugins/gc-social-wall/Controls/Select.php:4
- > PHP Fatal error
Uncaught Error: Class 'Controls\\Control' not found in wp-content/plugins/gc-social-wall/Controls/Radio.php:4
- > PHP Fatal error
Uncaught Error: Class 'Admin\\BaseWithControls' not found in wp-content/plugins/gc-social-wall/Admin/MetaBox.php:4
- > PHP Fatal error
Uncaught Error: Class 'Controls\\Control' not found in wp-content/plugins/gc-social-wall/Controls/Text.php:4
- > PHP Fatal error
Uncaught Error: Class 'Controls\\Control' not found in wp-content/plugins/gc-social-wall/Controls/Media.php:4
- > PHP Fatal error
Uncaught Error: Class 'Controls\\Control' not found in wp-content/plugins/gc-social-wall/Controls/Textarea.php:4
- > PHP Fatal error
Uncaught Error: Class 'Admin\\BaseWithControls' not found in wp-content/plugins/gc-social-wall/Admin/Taxonomy.php:4
- > PHP Fatal error
Uncaught Error: Class 'Controls\\Control' not found in wp-content/plugins/gc-social-wall/Controls/ColorPicker.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 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
5 plugin tags: youtube, twitter, social wall, facebook, social stream
gc-social-wall/GCSocialWall.php 85% from 13 tests
"GC Social Wall" version 1.15's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 158 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("gc-social-wall.php" instead of "GCSocialWall.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin6,566 lines of code in 44 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 17 | 719 | 1,290 | 3,325 |
PHP | 24 | 378 | 962 | 2,658 |
CSS | 3 | 94 | 6 | 583 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 6.94 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 2.02 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 33 | |
▷ Abstract classes | 5 | 15.15% |
▷ Concrete classes | 28 | 84.85% |
▷ Final classes | 0 | 0.00% |
Methods | 198 | |
▷ Static methods | 31 | 15.66% |
▷ Public methods | 178 | 89.90% |
▷ Protected methods | 2 | 1.01% |
▷ Private methods | 18 | 9.09% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 2 | 20.00% |
▷ Class constants | 8 | 80.00% |
▷ Public constants | 8 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected