Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲5.47MB] [CPU: ▲26.62ms] 75% from 4 tests
An overview of server-side resources used by Best Responsive Comparison Table for Gutenberg Editor - NicheTable
Please have a look at the following items
- Extra RAM: The extra memory usage should kept under 5MB (currently 5.47MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.18 ▲5.72 | 75.47 ▲28.99 |
Dashboard /wp-admin | 9.20 ▲5.90 | 92.06 ▲36.74 |
Posts /wp-admin/edit.php | 9.21 ▲5.85 | 75.46 ▲20.18 |
Add New Post /wp-admin/post-new.php | 10.31 ▲4.42 | 116.57 ▲20.56 |
Media Library /wp-admin/upload.php | 9.21 ▲5.98 | 77.22 ▲40.31 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 9.21 | 65.10 |
Server storage [IO: ▲7.56MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 226 new files
Database: no new tables, 9 new options
New WordPress options |
---|
fs_active_plugins |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
fs_accounts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
fs_debug_mode |
Browser metrics Passed 4 tests
A check of browser resources used by Best Responsive Comparison Table for Gutenberg Editor - NicheTable
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,826 ▲40 | 14.27 ▼0.46 | 1.62 ▼0.40 | 32.03 ▼10.97 |
Dashboard /wp-admin | 2,230 ▲50 | 5.68 ▲0.01 | 86.52 ▼22.31 | 45.18 ▼6.52 |
Posts /wp-admin/edit.php | 2,136 ▲36 | 1.99 ▲0.01 | 36.73 ▼3.33 | 35.46 ▲0.79 |
Add New Post /wp-admin/post-new.php | 1,525 ▼3 | 29.21 ▲6.03 | 837.36 ▲219.97 | 61.77 ▲8.84 |
Media Library /wp-admin/upload.php | 1,438 ▲38 | 4.20 ▲0.07 | 95.64 ▼8.90 | 43.05 ▲2.34 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,090 | 1.69 | 26.73 | 27.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/nichetable/freemius/includes/class-freemius.php+8486
Undefined property: stdClass::$plugins
- The uninstall procedure has failed, leaving 9 options in the database
- db_upgraded
- widget_recent-posts
- fs_active_plugins
- fs_accounts
- widget_recent-comments
- fs_debug_mode
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function LayCnichetablewpwp\\Layouts\\add_action() in wp-content/plugins/nichetable/includes/table-importer/layout-endpoints.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function LayCnichetablewpwp\\Layouts\\add_action() in wp-content/plugins/nichetable/includes/table-importer/register-layout-components.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 86% 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
Attributes that require attention:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
nichetable/nichetablewp.php 77% from 13 tests
"Best Responsive Comparison Table for Gutenberg Editor - NicheTable" version 2.8.3'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:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: The principal plugin file should be the same as the plugin slug ("nichetable.php" instead of "nichetablewp.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 188 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected35,405 lines of code in 176 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 128 | 8,124 | 17,393 | 34,438 |
CSS | 20 | 14 | 5 | 455 |
JavaScript | 5 | 38 | 62 | 225 |
Markdown | 1 | 68 | 0 | 214 |
SVG | 21 | 0 | 18 | 46 |
JSON | 1 | 0 | 0 | 27 |
PHP code 50% from 2 tests
This is a very shot review of cyclomatic complexity and code structure
It is recommended to fix the following
- Class cyclomatic complexity has to be reduced to less than 1000 (currently 3,073)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 91.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 4.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 49 | |
▷ Abstract classes | 2 | 4.08% |
▷ Concrete classes | 47 | 95.92% |
▷ Final classes | 1 | 2.13% |
Methods | 1,265 | |
▷ Static methods | 203 | 16.05% |
▷ Public methods | 876 | 69.25% |
▷ Protected methods | 17 | 1.34% |
▷ Private methods | 372 | 29.41% |
Functions | 137 | |
▷ Named functions | 120 | 87.59% |
▷ Anonymous functions | 17 | 12.41% |
Constants | 154 | |
▷ Global constants | 100 | 64.94% |
▷ Class constants | 54 | 35.06% |
▷ Public constants | 54 | 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
4 PNG files occupy 0.06MB with 0.04MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
assets/list.png | 15.10KB | 0.57KB | ▼ 96.20% |
freemius/assets/img/nichetable.png | 28.89KB | 9.19KB | ▼ 68.19% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |