Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.03ms] Passed 4 tests
Analyzing server-side resources used by Genesis Club Lite
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.76 ▼0.34 |
Dashboard /wp-admin | 3.31 ▲0.00 | 50.06 ▼0.95 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.53 ▼6.67 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 100.37 ▼6.85 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.26 ▼5.64 |
Server storage [IO: ▲0.60MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 74 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Genesis Club Lite
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.34 ▼0.22 | 1.67 ▼0.27 | 46.62 ▲0.17 |
Dashboard /wp-admin | 2,198 ▲18 | 5.62 ▼0.02 | 90.75 ▼4.09 | 41.47 ▼3.83 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.02 ▼0.01 | 40.32 ▼0.98 | 39.92 ▲1.38 |
Add New Post /wp-admin/post-new.php | 1,525 ▼1 | 23.11 ▼0.10 | 594.21 ▼89.41 | 52.56 ▼9.45 |
Media Library /wp-admin/upload.php | 1,397 ▼6 | 4.19 ▲0.00 | 100.91 ▲0.11 | 46.91 ▲3.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 33× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Genesis_Club_Widget' not found in wp-content/plugins/genesis-club-lite/classes/class-social-widgets.php:2
- > PHP Fatal error
Uncaught Error: Class 'Genesis_Club_Module' not found in wp-content/plugins/genesis-club-lite/classes/class-accordion.php:2
- > PHP Fatal error
Uncaught Error: Class 'Genesis_Club_Module' not found in wp-content/plugins/genesis-club-lite/classes/class-icons.php:5
- > PHP Fatal error
Uncaught Error: Class 'Genesis_Club_Admin' not found in wp-content/plugins/genesis-club-lite/classes/class-fonts-admin.php:2
- > PHP Fatal error
Uncaught Error: Class 'Genesis_Club_Admin' not found in wp-content/plugins/genesis-club-lite/classes/class-seo-admin.php:2
- > PHP Fatal error
Uncaught Error: Class 'Genesis_Club_Module' not found in wp-content/plugins/genesis-club-lite/classes/class-fonts.php:2
- > PHP Fatal error
Uncaught Error: Class 'Genesis_Club_Seo_Admin' not found in wp-content/plugins/genesis-club-lite/classes/class-seo-admin-thesis.php:2
- > PHP Fatal error
Uncaught Error: Class 'Genesis_Club_Module' not found in wp-content/plugins/genesis-club-lite/classes/class-display.php:2
- > PHP Fatal error
Uncaught Error: Class 'Genesis_Club_Module' not found in wp-content/plugins/genesis-club-lite/classes/class-signature.php:2
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/genesis-club-lite/classes/class-fonts-table.php on line 2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Screenshots: These screenshots lack descriptions #2, #3, #4 in genesis-club-lite/assets to your readme.txt
genesis-club-lite/main.php 92% from 13 tests
"Genesis Club Lite" version 1.17's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("genesis-club-lite.php" instead of "main.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected7,914 lines of code in 63 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 40 | 986 | 48 | 6,977 |
CSS | 15 | 98 | 2 | 670 |
JavaScript | 8 | 21 | 19 | 267 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 30.51 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 141.00 |
Average method complexity | 2.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 47.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 43 | |
▷ Abstract classes | 4 | 9.30% |
▷ Concrete classes | 39 | 90.70% |
▷ Final classes | 0 | 0.00% |
Methods | 730 | |
▷ Static methods | 2 | 0.27% |
▷ Public methods | 656 | 89.86% |
▷ Protected methods | 1 | 0.14% |
▷ Private methods | 73 | 10.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 74 | |
▷ Global constants | 10 | 13.51% |
▷ Class constants | 64 | 86.49% |
▷ Public constants | 64 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
7 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
styles/images/cross.png | 0.64KB | 0.72KB | 0.00% |
styles/images/login-logo.png | 10.13KB | 4.71KB | ▼ 53.45% |
styles/images/genesis-club.png | 4.18KB | 2.04KB | ▼ 51.26% |
images/signature-example.png | 2.65KB | 2.57KB | ▼ 3.06% |
styles/images/tick.png | 0.52KB | 0.52KB | 0.00% |