Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.55ms] Passed 4 tests
Analyzing server-side resources used by Genesis What's New Info
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 39.71 ▼2.41 |
Dashboard /wp-admin | 3.31 ▲0.00 | 51.80 ▼2.75 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 55.23 ▼0.84 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 91.96 ▼16.21 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.09 ▼0.38 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Genesis What's New Info
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.27 ▼0.16 | 1.88 ▲0.31 | 43.99 ▼3.13 |
Dashboard /wp-admin | 2,192 ▲18 | 5.51 ▼0.21 | 84.94 ▼34.27 | 40.59 ▼7.31 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.03 ▲0.04 | 38.00 ▼7.33 | 35.36 ▲0.29 |
Add New Post /wp-admin/post-new.php | 1,528 ▲2 | 23.18 ▲0.27 | 671.93 ▲44.91 | 53.21 ▲0.26 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.20 ▼0.00 | 97.43 ▼6.19 | 41.94 ▼7.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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 does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
Please fix the following items
- 6× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/genesis-whats-new-info/genesis-whats-new-info.php
- > /wp-content/plugins/genesis-whats-new-info/includes/gnewi-deprecated.php
- > /wp-content/plugins/genesis-whats-new-info/includes/gnewi-genesis-metabox.php
- > /wp-content/plugins/genesis-whats-new-info/includes/gnewi-functions-global.php
- > /wp-content/plugins/genesis-whats-new-info/includes/gnewi-admin-extras.php
- > /wp-content/plugins/genesis-whats-new-info/includes/ddwlib-plir/ddwlib-plugin-installer-recommendations.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Requires at least: The plugin version is formatted incorrectly
- Tags: You are using too many tags: 11 tag instead of maximum 10
genesis-whats-new-info/genesis-whats-new-info.php Passed 13 tests
The main PHP file in "Genesis What's New Info" ver. 1.3.4 adds more information about the plugin and also serves as the entry point for this plugin
115 characters long description:
Easy access of the Genesis What's New Admin overview page - not only on updates but everytime. Makes sense, heh? :)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected1,571 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 368 | 655 | 910 |
PO File | 2 | 92 | 120 | 274 |
Markdown | 3 | 134 | 0 | 237 |
CSS | 1 | 36 | 11 | 128 |
JSON | 1 | 0 | 0 | 22 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 36.00 |
▷ Minimum class complexity | 36.00 |
▷ Maximum class complexity | 36.00 |
Average method complexity | 3.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 16 | 94.12% |
▷ Public methods | 17 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 27 | |
▷ Named functions | 27 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/ddwlib-plir/deckerweb-plugins-logo.png | 15.80KB | 6.20KB | ▼ 60.78% |