Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.40MB] [CPU: ▼5.27ms] Passed 4 tests
An overview of server-side resources used by Hiilite Creative Group Branding
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.77 ▲0.31 | 43.46 ▼0.77 |
Dashboard /wp-admin | 3.79 ▲0.44 | 54.15 ▼14.16 |
Posts /wp-admin/edit.php | 3.84 ▲0.48 | 54.70 ▲1.20 |
Add New Post /wp-admin/post-new.php | 6.31 ▲0.42 | 94.59 ▼7.33 |
Media Library /wp-admin/upload.php | 3.65 ▲0.42 | 42.19 ▲7.03 |
Install Hiilite Plugins /wp-admin/themes.php?page=tgmpa-install-plugins | 3.87 | 41.09 |
Hiilite Admin /wp-admin/options-general.php?page=hiilite_options | 3.61 | 45.62 |
Server storage [IO: ▲22.41MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 213 new files
Database: no new tables, 7 new options
New WordPress options |
---|
hiilite_settings |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Hiilite Creative Group Branding
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,737 ▼24 | 14.33 ▼0.03 | 5.58 ▲3.70 | 44.75 ▼0.22 |
Dashboard /wp-admin | 2,108 ▼69 | 6.48 ▲0.85 | 92.86 ▲1.63 | 75.53 ▲32.08 |
Posts /wp-admin/edit.php | 2,222 ▲122 | 2.70 ▲0.67 | 42.00 ▲5.33 | 35.40 ▲0.64 |
Add New Post /wp-admin/post-new.php | 1,479 ▼47 | 17.40 ▼6.11 | 653.42 ▼70.66 | 40.09 ▼20.53 |
Media Library /wp-admin/upload.php | 1,510 ▲110 | 5.05 ▲0.84 | 103.04 ▲0.69 | 76.74 ▲28.44 |
Install Hiilite Plugins /wp-admin/themes.php?page=tgmpa-install-plugins | 1,376 | 2.57 | 33.48 | 29.90 |
Hiilite Admin /wp-admin/options-general.php?page=hiilite_options | 1,087 | 2.74 | 43.71 | 46.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- db_upgraded
- hiilite_settings
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
- 11× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
- > /wp-content/plugins/hiilite-creative-group-branding/index.php
- > /wp-content/plugins/hiilite-creative-group-branding/google-api-php-client-master/examples/index.php
- > /wp-content/plugins/hiilite-creative-group-branding/google-api-php-client-master/examples/service-account.php
- > /wp-content/plugins/hiilite-creative-group-branding/google-api-php-client-master/examples/simple-query.php
- > /wp-content/plugins/hiilite-creative-group-branding/google-api-php-client-master/examples/user-example.php
- > /wp-content/plugins/hiilite-creative-group-branding/admin.inc.php
- > /wp-content/plugins/hiilite-creative-group-branding/google-api-php-client-master/examples/batch.php
- > /wp-content/plugins/hiilite-creative-group-branding/google-api-php-client-master/examples/simplefileupload.php
- > /wp-content/plugins/hiilite-creative-group-branding/google-api-php-client-master/examples/fileupload.php
- > /wp-content/plugins/hiilite-creative-group-branding/google-api-php-client-master/examples/multi-api.php
- 113× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'BaseTest' not found in wp-content/plugins/hiilite-creative-group-branding/google-api-php-client-master/tests/youtube/YouTubeTest.php:18
- > PHP Fatal error
Uncaught Error: Class 'Google_Model' not found in wp-content/plugins/hiilite-creative-group-branding/google-api-php-client-master/tests/general/ServiceTest.php:21
- > PHP Fatal error
Uncaught Error: Class 'Google_Service' not found in wp-content/plugins/hiilite-creative-group-branding/google-api-php-client-master/src/Google/Service/Reseller.php:31
- > PHP Fatal error
Uncaught Error: Class 'WP_Query' not found in wp-content/plugins/hiilite-creative-group-branding/hiilite_seo_report.php:665
- > PHP Fatal error
Uncaught Error: Class 'Google_Service' not found in wp-content/plugins/hiilite-creative-group-branding/google-api-php-client-master/src/Google/Service/Bigquery.php:31
- > PHP Fatal error
Uncaught Error: Class 'Google_Service' not found in wp-content/plugins/hiilite-creative-group-branding/google-api-php-client-master/src/Google/Service/Webmasters.php:31
- > PHP Fatal error
Uncaught Error: Class 'Google_Service' not found in wp-content/plugins/hiilite-creative-group-branding/google-api-php-client-master/src/Google/Service/Classroom.php:31
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/hiilite-creative-group-branding/google-api-php-client-master/tests/BaseTest.php:18
- > PHP Fatal error
Uncaught Error: Class 'Google_Service' not found in wp-content/plugins/hiilite-creative-group-branding/google-api-php-client-master/src/Google/Service/Playmoviespartner.php:32
- > PHP Fatal error
Uncaught Error: Class 'Google_Service' not found in wp-content/plugins/hiilite-creative-group-branding/google-api-php-client-master/src/Google/Service/AdExchangeSeller.php:32
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following user-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=hiilite_options
- > Network (severe)
https://hiilite.zendesk.com/embeddable/config - Failed to load resource: the server responded with a status of 404 ()
Optimizations
Plugin configuration 96% 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
3 plugin tags: backend, admin, hiilite
hiilite-creative-group-branding/index.php 92% from 13 tests
The entry point to "Hiilite Creative Group Branding" version 1.0.10 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("hiilite-creative-group-branding.php" instead of "index.php")
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
Good job! No executable or dangerous file extensions detected173,719 lines of code in 188 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 171 | 11,849 | 34,332 | 172,768 |
HTML | 2 | 32 | 0 | 321 |
CSS | 3 | 47 | 45 | 296 |
XML | 2 | 28 | 41 | 122 |
Markdown | 3 | 50 | 0 | 81 |
SVG | 1 | 0 | 1 | 55 |
JSON | 4 | 0 | 0 | 40 |
YAML | 1 | 8 | 2 | 30 |
INI | 1 | 0 | 1 | 6 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.02 |
Average class complexity | 1.30 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 113.00 |
Average method complexity | 1.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 3,027 | |
▷ Abstract classes | 6 | 0.20% |
▷ Concrete classes | 3,021 | 99.80% |
▷ Final classes | 0 | 0.00% |
Methods | 23,903 | |
▷ Static methods | 15 | 0.06% |
▷ Public methods | 23,802 | 99.58% |
▷ Protected methods | 37 | 0.15% |
▷ Private methods | 64 | 0.27% |
Functions | 46 | |
▷ Named functions | 39 | 84.78% |
▷ Anonymous functions | 7 | 15.22% |
Constants | 261 | |
▷ Global constants | 2 | 0.77% |
▷ Class constants | 259 | 99.23% |
▷ Public constants | 259 | 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
3 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/hiilite-logo-lettermark.png | 4.79KB | 3.31KB | ▼ 30.85% |
assets/banner-772x250.png | 25.71KB | 5.75KB | ▼ 77.62% |
images/hiilite-logo-combomark.png | 12.53KB | 7.81KB | ▼ 37.69% |