Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.91ms] Passed 4 tests
An overview of server-side resources used by WP GooGoose
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 39.56 ▼3.43 |
Dashboard /wp-admin | 3.32 ▲0.02 | 44.77 ▼9.77 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 46.76 ▲1.08 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 88.73 ▼14.77 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 35.58 ▲0.34 |
WP GooGoose /wp-admin/options-general.php?page=wp_googoose | 3.21 | 31.09 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by WP GooGoose
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲47 | 13.50 ▼0.88 | 3.55 ▲1.60 | 42.97 ▼1.97 |
Dashboard /wp-admin | 2,216 ▲28 | 5.09 ▲0.20 | 104.64 ▼9.12 | 38.10 ▼4.47 |
Posts /wp-admin/edit.php | 2,099 ▲13 | 2.63 ▲0.57 | 39.42 ▲3.78 | 35.26 ▲1.75 |
Add New Post /wp-admin/post-new.php | 1,523 ▲3 | 23.11 ▲0.05 | 616.32 ▼72.93 | 50.62 ▼4.82 |
Media Library /wp-admin/upload.php | 1,398 ▲10 | 4.40 ▲0.23 | 95.76 ▼11.20 | 42.38 ▼2.60 |
WP GooGoose /wp-admin/options-general.php?page=wp_googoose | 1,429 | 2.47 | 53.53 | 28.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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
Almost there! Just fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/wp-googoose/goo-goose.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
8 plugin tags: word document, microsoft word, document, automate, html to word...
wp-googoose/goo-goose.php 92% from 13 tests
The main file in "WP GooGoose" v. 1.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wp-googoose.php" instead of "goo-goose.php")
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
There were no executable files found in this plugin3,177 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 84 | 48 | 2,965 |
PHP | 1 | 30 | 41 | 175 |
Markdown | 1 | 17 | 0 | 27 |
CSS | 1 | 0 | 0 | 10 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
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 | 17 | |
▷ Named functions | 17 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
6 compressed PNG files occupy 0.01MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
js/images/goose-footer.png | 0.91KB | 1.24KB | 0.00% |
js/images/goose-current-page.png | 1.26KB | 1.73KB | 0.00% |
js/images/goose.png | 1.11KB | 1.38KB | 0.00% |
js/images/goose-page-break.png | 0.97KB | 1.36KB | 0.00% |
js/images/goose-total-page.png | 0.90KB | 1.19KB | 0.00% |