Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.24MB] [CPU: ▲2,336.04ms] 50% from 4 tests
Analyzing server-side resources used by Tipalink WordPress Plugin
It is recommended to improve the following
- CPU: Total CPU usage should be kept under 500.00ms (currently 4,095.64ms on /wp-admin/tools.php?page=redux-about)
- Extra CPU: The extra CPU usage should be kept under 200.00ms (currently 2,336.04ms on /wp-admin/tools.php?page=redux-about)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.75 ▲0.24 | 60.11 ▲8.91 |
Dashboard /wp-admin | 3.98 ▲0.57 | 2,300.33 ▲2,267.83 |
Posts /wp-admin/edit.php | 3.86 ▲0.22 | 4,246.60 ▲4,210.03 |
Add New Post /wp-admin/post-new.php | 7.17 ▲0.20 | 4,115.87 ▲2,857.38 |
Media Library /wp-admin/upload.php | 3.59 ▲0.29 | 5,026.50 ▲4,993.08 |
Tipalink /wp-admin/options-general.php?page=tipalink_plugin | 4.05 | 2,077.64 |
Redux Framework /wp-admin/tools.php?page=redux-about | 3.56 | 4,095.64 |
Server storage [IO: ▲4.50MB] [DB: ▲0.06MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 457 new files
Database: no new tables, 3 new options
New WordPress options |
---|
redux_demo-transients |
redux_demo |
redux_version_upgraded_from |
Browser metrics Passed 4 tests
Checking browser requirements for Tipalink WordPress Plugin
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,803 ▲50 | 13.93 ▼2.07 | 8.81 ▲3.26 | 2.83 ▲0.53 |
Dashboard /wp-admin | 2,981 ▲123 | 6.01 ▼0.18 | 120.62 ▼8.94 | 154.69 ▼4.09 |
Posts /wp-admin/edit.php | 2,701 ▲7 | 3.36 ▲0.13 | 62.38 ▼1.86 | 139.19 ▼5.52 |
Add New Post /wp-admin/post-new.php | 1,717 ▼35 | 21.52 ▲0.57 | 436.56 ▼1.21 | 155.10 ▼6.69 |
Media Library /wp-admin/upload.php | 1,705 ▲7 | 5.47 ▼0.04 | 146.01 ▲6.17 | 174.25 ▼13.31 |
Tipalink /wp-admin/options-general.php?page=tipalink_plugin | 1,592 | 4.24 | 98.20 | 184.34 |
Redux Framework /wp-admin/tools.php?page=redux-about | 1,339 | 4.03 | 99.74 | 212.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.06MB] 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
- Zombie WordPress options detected upon uninstall: 3 options
- redux_demo-transients
- redux_version_upgraded_from
- redux_demo
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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 20× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Section' not found in wp-content/plugins/tipalink/includes/admin/framework/redux-framework/ReduxCore/inc/extensions/customizer/inc/customizer_devs.php:12
- > PHP Fatal error
Uncaught Error: Class 'Redux_Customizer_Control' not found in wp-content/plugins/tipalink/includes/admin/framework/redux-framework/ReduxCore/inc/extensions/customizer/inc/customizer_fields.php:3
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/tipalink/includes/admin/framework/redux-framework/ReduxCore/templates/panel/footer.tpl.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/tipalink/includes/admin/framework/redux-framework/ReduxCore/templates/panel/header.tpl.php:11
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/tipalink/includes/admin/framework/redux-framework/ReduxCore/templates/panel/container.tpl.php:12
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/tipalink/includes/admin/framework/redux-framework/ReduxCore/templates/panel/content.tpl.php:12
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Section' not found in wp-content/plugins/tipalink/includes/admin/framework/redux-framework/ReduxCore/inc/extensions/customizer/inc/customizer_section.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/tipalink/includes/admin/framework/redux-framework/ReduxCore/inc/welcome/views/changelog.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/tipalink/includes/admin/framework/redux-framework/ReduxCore/inc/fields/select/elusive-icons.php:312
- > PHP Fatal error
Uncaught Error: Interface 'themecheck' not found in wp-content/plugins/tipalink/includes/admin/framework/redux-framework/ReduxCore/inc/themecheck/checks/embedded.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: tip, donate, fundme, micropayment
tipalink/tipalink-plugin.php 85% from 13 tests
"Tipalink WordPress Plugin" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("tipalink.php" instead of "tipalink-plugin.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin46,402 lines of code in 320 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 119 | 4,151 | 8,187 | 18,377 |
JavaScript | 87 | 2,617 | 2,106 | 12,233 |
Sass | 54 | 1,187 | 60 | 7,580 |
JSON | 4 | 184 | 0 | 5,121 |
Markdown | 4 | 580 | 0 | 1,750 |
SVG | 1 | 0 | 0 | 934 |
CSS | 47 | 9 | 40 | 197 |
XML | 2 | 1 | 0 | 97 |
HTML | 1 | 7 | 0 | 60 |
LESS | 1 | 0 | 0 | 53 |
PHP code 50% from 2 tests
A short review of cyclomatic complexity and code structure
These items need your attention
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 113)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
Average class complexity | 31.38 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 883.00 |
Average method complexity | 6.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 113.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 108 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 108 | 100.00% |
▷ Final classes | 1 | 0.93% |
Methods | 616 | |
▷ Static methods | 113 | 18.34% |
▷ Public methods | 469 | 76.14% |
▷ Protected methods | 91 | 14.77% |
▷ Private methods | 56 | 9.09% |
Functions | 27 | |
▷ Named functions | 26 | 96.30% |
▷ Anonymous functions | 1 | 3.70% |
Constants | 63 | |
▷ Global constants | 5 | 7.94% |
▷ Class constants | 58 | 92.06% |
▷ Public constants | 58 | 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
36 PNG files occupy 0.19MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/admin/framework/redux-framework/ReduxCore/assets/css/vendor/jquery-ui-bootstrap/images/ui-bg_glass_75_ffffff_1x400.png | 0.10KB | 0.10KB | ▼ 4.67% |
includes/admin/framework/redux-framework/sample/patterns/wild_flowers.png | 46.05KB | 49.23KB | 0.00% |
includes/admin/framework/redux-framework/ReduxCore/assets/img/1col.png | 2.83KB | 0.14KB | ▼ 95.13% |
includes/admin/framework/redux-framework/ReduxCore/inc/fields/switch/slider-control.png | 1.65KB | 0.75KB | ▼ 54.62% |
includes/admin/framework/redux-framework/ReduxCore/inc/fields/spinner/arrow_left.png | 0.15KB | 0.12KB | ▼ 16.67% |