Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.02ms] Passed 4 tests
Server-side resources used by Genesis Dambuster
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.76 ▼2.13 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.39 ▼1.02 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 41.92 ▼5.04 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 81.36 ▼11.90 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.36 ▼0.15 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 68 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Genesis Dambuster: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.60 ▼0.76 | 1.78 ▲0.20 | 43.60 ▼3.37 |
Dashboard /wp-admin | 2,209 ▲21 | 4.86 ▼0.05 | 98.63 ▼6.44 | 39.00 ▼3.39 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.03 ▲0.03 | 34.85 ▼1.53 | 32.98 ▼2.23 |
Add New Post /wp-admin/post-new.php | 1,533 ▲19 | 23.41 ▲5.80 | 659.76 ▼31.15 | 53.14 ▼5.05 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.18 ▼0.07 | 100.85 ▼2.50 | 43.01 ▼2.69 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 46× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Genesis_Dambuster_Template' not found in wp-content/plugins/genesis-dambuster/classes/class-digital.php:2
- > PHP Fatal error
Uncaught Error: Class 'Genesis_Dambuster_Template' not found in wp-content/plugins/genesis-dambuster/classes/class-eleven40.php:2
- > PHP Fatal error
Uncaught Error: Class 'Genesis_Dambuster_Template' not found in wp-content/plugins/genesis-dambuster/classes/class-agency.php:2
- > PHP Fatal error
Uncaught Error: Class 'Genesis_Dambuster_Template' not found in wp-content/plugins/genesis-dambuster/classes/class-pretty-chic.php:2
- > PHP Fatal error
Uncaught Error: Class 'Genesis_Dambuster_Template' not found in wp-content/plugins/genesis-dambuster/classes/class-altitude.php:2
- > PHP Fatal error
Uncaught Error: Class 'Genesis_Dambuster_Template' not found in wp-content/plugins/genesis-dambuster/classes/class-decor.php:2
- > PHP Fatal error
Uncaught Error: Class 'Genesis_Dambuster_Template' not found in wp-content/plugins/genesis-dambuster/classes/class-ambiance.php:2
- > PHP Fatal error
Uncaught Error: Class 'Genesis_Dambuster_Template' not found in wp-content/plugins/genesis-dambuster/classes/class-prose.php:2
- > PHP Fatal error
Uncaught Error: Class 'Genesis_Dambuster_Template' not found in wp-content/plugins/genesis-dambuster/classes/class-smart-passive-income.php:2
- > PHP Fatal error
Uncaught Error: Class 'Genesis_Dambuster_Template' not found in wp-content/plugins/genesis-dambuster/classes/class-revolution.php:2
- > PHP Fatal error
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 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: No descriptions were found for these screenshots #2, #3, #4, #5 in genesis-dambuster/assets to your readme.txt
genesis-dambuster/main.php 85% from 13 tests
The main file in "Genesis Dambuster" v. 1.11.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 144 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("genesis-dambuster.php" instead of "main.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin2,922 lines of code in 64 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 55 | 512 | 26 | 2,685 |
CSS | 7 | 12 | 0 | 187 |
JavaScript | 2 | 1 | 3 | 50 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 8.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 178.00 |
Average method complexity | 2.02 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 70.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 53 | |
▷ Abstract classes | 1 | 1.89% |
▷ Concrete classes | 52 | 98.11% |
▷ Final classes | 0 | 0.00% |
Methods | 391 | |
▷ Static methods | 1 | 0.26% |
▷ Public methods | 380 | 97.19% |
▷ Protected methods | 1 | 0.26% |
▷ Private methods | 10 | 2.56% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 13 | |
▷ Global constants | 9 | 69.23% |
▷ Class constants | 4 | 30.77% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
styles/images/genesisdambuster.png | 5.43KB | 2.30KB | ▼ 57.59% |
images/genesisdambuster.png | 5.43KB | 2.30KB | ▼ 57.59% |
styles/images/genesis-club-brand.png | 2.36KB | 1.28KB | ▼ 45.50% |