Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼0.90MB] [CPU: ▼34.00ms] Passed 4 tests
An overview of server-side resources used by Goro Content
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 41.84 ▲0.81 |
Dashboard /wp-admin | 3.04 ▼0.26 | 29.98 ▼22.27 |
Posts /wp-admin/edit.php | 3.04 ▼0.31 | 29.85 ▼23.44 |
Add New Post /wp-admin/post-new.php | 3.04 ▼2.84 | 26.76 ▼78.83 |
Media Library /wp-admin/upload.php | 3.04 ▼0.19 | 26.87 ▼11.47 |
Settings /wp-admin/admin.php?page=goro_settings | 3.04 | 25.25 |
Goro Content /wp-admin/admin.php?page=goro_content | 3.12 | 66.64 |
Server storage [IO: ▲0.89MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 41 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_l_campaign |
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
my_db_version |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Goro Content
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲64 | 14.38 ▲0.03 | 1.58 ▼0.13 | 40.42 ▼5.37 |
Dashboard /wp-admin | 2,229 ▲49 | 5.64 ▼0.02 | 86.90 ▼5.28 | 43.40 ▲0.44 |
Posts /wp-admin/edit.php | 2,134 ▲37 | 2.11 ▲0.16 | 33.48 ▼1.80 | 37.37 ▲4.42 |
Add New Post /wp-admin/post-new.php | 1,556 ▲28 | 23.15 ▲0.07 | 611.70 ▼49.98 | 56.70 ▼5.97 |
Media Library /wp-admin/upload.php | 1,437 ▲37 | 4.17 ▲0.03 | 97.26 ▼13.30 | 40.74 ▼5.24 |
Settings /wp-admin/admin.php?page=goro_settings | 839 | 2.05 | 24.04 | 28.21 |
Goro Content /wp-admin/admin.php?page=goro_content | 1,118 | 3.41 | 77.08 | 64.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/goro-content/inc/Api/SettingsApi.php+63
Undefined index: icon_url
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
Smoke tests 0% 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 server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=goro_content
- > Notice in wp-content/plugins/goro-content/inc/Api/SettingsApi.php+63
Undefined index: icon_url
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=goro_content
- > Notice in wp-content/plugins/goro-content/inc/Api/SettingsApi.php+63
Undefined index: position
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/goro-content/goro-plugin.php
- 7× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'Goro\\Base\\BaseController' not found in wp-content/plugins/goro-content/inc/Page/Admin.php:8
- > PHP Fatal error
Uncaught Error: Class 'Goro\\Base\\BaseController' not found in wp-content/plugins/goro-content/inc/Base/SettingLink.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/goro-content/templates/index2.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/goro-content/templates/settings.php:3
- > PHP Fatal error
Uncaught Error: Class 'Goro\\Base\\BaseController' not found in wp-content/plugins/goro-content/inc/Api/RouteApi.php:8
- > PHP Fatal error
Uncaught Error: Class 'Goro\\Base\\BaseController' not found in wp-content/plugins/goro-content/inc/Base/Enqueue.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/goro-content/templates/index.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=goro_content
- > Network (severe)
wp-json/lit/v1/get_campaign - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=goro_content
- > Network (severe)
wp-json/lit/v1/get_langs - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=goro_content
- > Network (severe)
wp-json/lit/v1/get_categories - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Screenshots: Add an image for screenshot #1 (https://goroauto.com/wp-content/uploads/2020/03/logo-2.png)
- Donate link: Invalid URI found ("none")
goro-content/goro-plugin.php 92% from 13 tests
The main PHP script in "Goro Content" version 1.3 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("goro-content.php" instead of "goro-plugin.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 plugin10,180 lines of code in 36 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 6 | 1,768 | 1,813 | 7,534 |
PHP | 23 | 282 | 251 | 2,533 |
CSS | 5 | 17 | 16 | 96 |
JSON | 2 | 0 | 0 | 17 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 9.08 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 1 | 7.69% |
Methods | 61 | |
▷ Static methods | 10 | 16.39% |
▷ Public methods | 55 | 90.16% |
▷ Protected methods | 2 | 3.28% |
▷ Private methods | 4 | 6.56% |
Functions | 20 | |
▷ Named functions | 4 | 20.00% |
▷ Anonymous functions | 16 | 80.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
No PNG images were found in this plugin