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
Installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼11.01ms] Passed 4 tests
An overview of server-side resources used by PayTR Taksit Tablosu - WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 40.00 ▼3.42 |
Dashboard /wp-admin | 3.38 ▲0.04 | 49.44 ▼16.35 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 50.62 ▲1.30 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 92.01 ▼14.15 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 30.92 ▼10.13 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for PayTR Taksit Tablosu - WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲47 | 13.57 ▼0.58 | 2.16 ▲0.28 | 40.86 ▼0.22 |
Dashboard /wp-admin | 2,227 ▲24 | 5.87 ▼0.05 | 105.37 ▼1.36 | 42.90 ▼0.17 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.05 ▲0.02 | 39.31 ▲2.53 | 36.96 ▲0.47 |
Add New Post /wp-admin/post-new.php | 1,557 ▲32 | 18.68 ▲0.98 | 608.37 ▼37.87 | 66.70 ▲9.18 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.20 ▲0.05 | 97.40 ▼13.67 | 41.01 ▼4.45 |
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
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/paytr-taksit-tablosu-woocommerce/includes/html-installment-table.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_text_field() in wp-content/plugins/paytr-taksit-tablosu-woocommerce/includes/html-installment-tab-content.php:4
- > PHP Warning
Use of undefined constant PAYTRTT_PLUGIN_URL - assumed 'PAYTRTT_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/paytr-taksit-tablosu-woocommerce/includes/admin/html-section-info.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/paytr-taksit-tablosu-woocommerce/includes/admin/html-section-info.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: taksit tablosu, taksit, woocommerce, taksit seenekleri, paytr
paytr-taksit-tablosu-woocommerce/paytr-taksit-tablosu-woocommerce.php Passed 13 tests
The principal PHP file in "PayTR Taksit Tablosu - WooCommerce" v. 1.3.1 is loaded by WordPress automatically on each request
99 characters long description:
The plugin that allows you to show the installment options of your PayTR store on the product page.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin570 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 100 | 64 | 440 |
PO File | 1 | 32 | 40 | 92 |
JavaScript | 1 | 5 | 0 | 27 |
CSS | 1 | 1 | 0 | 11 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 38.00 |
▷ Minimum class complexity | 38.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 2.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 1 | 4.55% |
▷ Public methods | 21 | 95.45% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 4.55% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/dashboard-admin-icon.png | 2.24KB | 0.46KB | ▼ 79.44% |