Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲1.70MB] [CPU: ▲12.32ms] Passed 4 tests
An overview of server-side resources used by Pricing Table by Supsystic
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.50 ▲2.04 | 60.23 ▲20.41 |
Dashboard /wp-admin | 5.03 ▲1.73 | 62.69 ▲7.75 |
Posts /wp-admin/edit.php | 5.08 ▲1.73 | 65.96 ▲17.75 |
Add New Post /wp-admin/post-new.php | 7.55 ▲1.67 | 112.88 ▲3.68 |
Media Library /wp-admin/upload.php | 4.89 ▲1.66 | 56.36 ▲20.08 |
Show All Tables /wp-admin/admin.php?page=tables-supsystic&tab=tables | 5.29 | 55.68 |
Pricing Table by Supsystic /wp-admin/admin.php?page=tables-supsystic | 5.28 | 51.70 |
Settings /wp-admin/admin.php?page=tables-supsystic&tab=settings | 5.04 | 54.54 |
Tables Import / Export /wp-admin/admin.php?page=tables-supsystic&tab=tables_import_export | 5.28 | 52.65 |
Overview /wp-admin/admin.php?page=tables-supsystic&tab=overview | 5.05 | 52.07 |
Add New Table /wp-admin/admin.php?page=tables-supsystic&tab=tables_add_new | 5.46 | 70.15 |
Server storage [IO: ▲11.36MB] [DB: ▲0.18MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 706 new files
Database: 4 new tables, 10 new options
New tables |
---|
wp_pts_usage_stat |
wp_pts_modules_type |
wp_pts_modules |
wp_pts_tables |
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
pts_opts_data |
db_upgraded |
pts_plugin_activation_errors |
widget_recent-comments |
wp_pts_db_installed |
wp_pts_db_version |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Pricing Table by Supsystic
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,839 ▲78 | 14.49 ▲0.06 | 1.93 ▲0.07 | 47.21 ▲3.34 |
Dashboard /wp-admin | 2,242 ▲68 | 5.64 ▲0.05 | 93.63 ▲4.36 | 42.34 ▲4.45 |
Posts /wp-admin/edit.php | 2,147 ▲47 | 1.98 ▲0.03 | 41.16 ▲1.40 | 35.64 ▲0.29 |
Add New Post /wp-admin/post-new.php | 1,574 ▲48 | 18.03 ▼5.09 | 682.25 ▼6.79 | 74.33 ▲15.01 |
Media Library /wp-admin/upload.php | 1,447 ▲47 | 4.11 ▼0.07 | 110.94 ▼8.26 | 49.63 ▲2.03 |
Show All Tables /wp-admin/admin.php?page=tables-supsystic&tab=tables | 1,765 | 5.14 | 89.71 | 140.22 |
Pricing Table by Supsystic /wp-admin/admin.php?page=tables-supsystic | 1,747 | 5.20 | 83.45 | 104.31 |
Settings /wp-admin/admin.php?page=tables-supsystic&tab=settings | 1,508 | 4.54 | 80.28 | 89.16 |
Tables Import / Export /wp-admin/admin.php?page=tables-supsystic&tab=tables_import_export | 1,814 | 5.12 | 77.92 | 98.76 |
Overview /wp-admin/admin.php?page=tables-supsystic&tab=overview | 2,773 | 17.58 | 581.94 | 92.64 |
Add New Table /wp-admin/admin.php?page=tables-supsystic&tab=tables_add_new | 2,292 | 3.85 | 63.21 | 166.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.18MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie tables were found after uninstall: 1 table
- wp_pts_tables
- Zombie WordPress options were found after uninstall: 8 options
- widget_theysaidso_widget
- pts_opts_data
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- pts_plugin_activation_errors
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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 fix the following items
- 209× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Twig_Node_Expression_Binary' not found in wp-content/plugins/pricing-table-by-supsystic/classes/Twig/Node/Expression/Binary/Equal.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/pricing-table-by-supsystic/modules/options/views/tpl/optionsSettingsTabContent.php:3
- > PHP Fatal error
Uncaught Error: Class 'Twig_Error' not found in wp-content/plugins/pricing-table-by-supsystic/classes/Twig/Sandbox/SecurityError.php:17
- > PHP Fatal error
Uncaught Error: Class 'Twig_Node_Expression_Call' not found in wp-content/plugins/pricing-table-by-supsystic/classes/Twig/Node/Expression/Filter.php:12
- > PHP Fatal error
Uncaught Error: Class 'Twig_TokenParser' not found in wp-content/plugins/pricing-table-by-supsystic/classes/Twig/TokenParser/If.php:26
- > PHP Fatal error
Uncaught Error: Class 'Twig_Node_Expression_Test' not found in wp-content/plugins/pricing-table-by-supsystic/classes/Twig/Node/Expression/Test/Sameas.php:17
- > PHP Fatal error
Uncaught Error: Class 'Twig_Node_Expression_Binary' not found in wp-content/plugins/pricing-table-by-supsystic/classes/Twig/Node/Expression/Binary/Div.php:12
- > PHP Fatal error
Uncaught Error: Class 'modulePts' not found in wp-content/plugins/pricing-table-by-supsystic/modules/mail/mod.php:2
- > PHP Fatal error
Uncaught Error: Class 'Twig_Error' not found in wp-content/plugins/pricing-table-by-supsystic/classes/Twig/Error/Syntax.php:18
- > PHP Fatal error
Uncaught Error: Class 'Twig_Node_Expression' not found in wp-content/plugins/pricing-table-by-supsystic/classes/Twig/Node/Expression/BlockReference.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 15 tag instead of maximum 10
- Screenshots: Add a description for screenshot #11 in pricing-table-by-supsystic/assets to your readme.txt
pricing-table-by-supsystic/pts.php 92% from 13 tests
This is the main PHP file of "Pricing Table by Supsystic" version 1.9.11, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("pricing-table-by-supsystic.php" instead of "pts.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin56,875 lines of code in 477 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 169 | 1,394 | 3,117 | 23,838 |
PHP | 260 | 2,120 | 6,341 | 18,603 |
PO File | 2 | 1,992 | 3,946 | 5,828 |
CSS | 40 | 268 | 408 | 5,487 |
SVG | 5 | 0 | 0 | 3,117 |
Markdown | 1 | 1 | 0 | 2 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 11.10 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 189.00 |
Average method complexity | 2.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 51.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 22 | |
Traits | 0 | |
Classes | 216 | |
▷ Abstract classes | 20 | 9.26% |
▷ Concrete classes | 196 | 90.74% |
▷ Final classes | 0 | 0.00% |
Methods | 1,467 | |
▷ Static methods | 226 | 15.41% |
▷ Public methods | 1,293 | 88.14% |
▷ Protected methods | 152 | 10.36% |
▷ Private methods | 22 | 1.50% |
Functions | 73 | |
▷ Named functions | 69 | 94.52% |
▷ Anonymous functions | 4 | 5.48% |
Constants | 110 | |
▷ Global constants | 63 | 57.27% |
▷ Class constants | 47 | 42.73% |
▷ Public constants | 47 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
88 PNG files occupy 1.67MB with 0.28MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/_assets/tables/img/retro/1.png | 17.94KB | 19.30KB | 0.00% |
assets/lib/chosen/chosen-sprite@2x.png | 0.72KB | 0.83KB | 0.00% |
assets/_assets/tables/img/sun-1.png | 7.25KB | 3.73KB | ▼ 48.53% |
js/color_picker/images/map-opacity.png | 0.14KB | 0.09KB | ▼ 34.53% |
assets/_assets/tables/img/model-agency/3.png | 71.16KB | 75.72KB | 0.00% |