Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
It is recommended to fix the following installer errors
- Install procedure validation failed for this plugin
- > Warning in wp-content/plugins/ninja-araclar/vendor/sunra/php-simple-html-dom-parser/Src/Sunra/PhpSimple/simplehtmldom_1_5/simple_html_dom.php+1378
preg_match(): Compilation failed: invalid range in character class at offset 4
Server metrics [RAM: ▲0.05MB] [CPU: ▼2.59ms] Passed 4 tests
A check of server-side resources used by Ninja Araçlar
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 38.21 ▼3.86 |
Dashboard /wp-admin | 3.34 ▲0.04 | 53.09 ▲5.24 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 50.94 ▲2.22 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 87.14 ▼13.97 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 39.58 ▲7.09 |
Server storage [IO: ▲1.95MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 171 new files
Database: 3 new tables, 9 new options
New tables |
---|
wp_superlig_puan |
wp_burclar |
wp_doviz_kurlari |
New WordPress options |
---|
widget_burclar_widget |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_dÖviz_widget |
theysaidso_admin_options |
db_upgraded |
widget_super_lig_puan_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Ninja Araçlar
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,919 ▲184 | 13.70 ▼0.67 | 7.69 ▲5.98 | 42.59 ▲2.52 |
Dashboard /wp-admin | 2,210 ▲36 | 5.79 ▲0.69 | 96.20 ▼20.19 | 40.34 ▼3.72 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.00 ▼0.04 | 34.92 ▼4.12 | 39.86 ▲4.95 |
Add New Post /wp-admin/post-new.php | 1,518 ▼5 | 23.23 ▼0.00 | 693.54 ▲9.41 | 55.61 ▼3.33 |
Media Library /wp-admin/upload.php | 1,386 ▲1 | 4.17 ▼0.08 | 104.61 ▼1.42 | 45.11 ▲2.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 9 options
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_burclar_widget
- widget_theysaidso_widget
- widget_dÖviz_widget
- db_upgraded
- can_compress_scripts
- widget_super_lig_puan_widget
Smoke tests 50% 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)
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
Almost there! Just fix the following items
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/ninja-araclar/admin/partials/ninja-araclar-admin-display.php
- > /wp-content/plugins/ninja-araclar/public/partials/ninja-araclar-public-display.php
- 45× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\UriInterface' not found in wp-content/plugins/ninja-araclar/vendor/guzzlehttp/psr7/src/Uri.php:13
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/ninja-araclar/public/views/burclar.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/ninja-araclar/public/views/puandurumu.php:3
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Cookie\\CookieJar' not found in wp-content/plugins/ninja-araclar/vendor/guzzlehttp/guzzle/src/Cookie/SessionCookieJar.php:7
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/ninja-araclar/vendor/guzzlehttp/psr7/src/DroppingStream.php:10
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Promise\\PromiseInterface' not found in wp-content/plugins/ninja-araclar/vendor/guzzlehttp/promises/src/Coroutine.php:43
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Exception\\GuzzleException' not found in wp-content/plugins/ninja-araclar/vendor/guzzlehttp/guzzle/src/Exception/SeekException.php:9
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Promise\\RejectionException' not found in wp-content/plugins/ninja-araclar/vendor/guzzlehttp/promises/src/AggregateException.php:7
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\MessageInterface' not found in wp-content/plugins/ninja-araclar/vendor/psr/http-message/src/RequestInterface.php:24
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Exception\\RequestException' not found in wp-content/plugins/ninja-araclar/vendor/guzzlehttp/guzzle/src/Exception/BadResponseException.php:10
- > 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 97% 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:
- Donate link: Invalid URI found ("www.tema.ninja")
ninja-araclar/ninja-araclar.php Passed 13 tests
"Ninja Araçlar" version 1.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
82 characters long description:
Sitenize Süperlig Puan Durumu, Burçlar ve Döviz Kurlarını eklemennizi sağlar
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin16,412 lines of code in 135 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 111 | 2,201 | 5,590 | 10,024 |
Markdown | 10 | 929 | 0 | 3,135 |
SVG | 1 | 0 | 0 | 2,671 |
JSON | 7 | 0 | 0 | 466 |
CSS | 3 | 9 | 12 | 98 |
JavaScript | 2 | 5 | 54 | 9 |
make | 1 | 4 | 0 | 9 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 15.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 197.00 |
Average method complexity | 2.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 10 | |
Interfaces | 14 | |
Traits | 2 | |
Classes | 79 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 79 | 100.00% |
▷ Final classes | 7 | 8.86% |
Methods | 801 | |
▷ Static methods | 70 | 8.74% |
▷ Public methods | 670 | 83.65% |
▷ Protected methods | 20 | 2.50% |
▷ Private methods | 111 | 13.86% |
Functions | 147 | |
▷ Named functions | 60 | 40.82% |
▷ Anonymous functions | 87 | 59.18% |
Constants | 69 | |
▷ Global constants | 21 | 30.43% |
▷ Class constants | 48 | 69.57% |
▷ Public constants | 48 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
18 PNG files occupy 0.14MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/images/yengec.png | 10.51KB | 4.73KB | ▼ 54.96% |
public/images/kur/rub.png | 0.51KB | 0.44KB | ▼ 13.24% |
public/images/kur/sar.png | 0.61KB | 0.54KB | ▼ 11.61% |
public/images/basak.png | 12.60KB | 5.75KB | ▼ 54.41% |
public/images/aslan.png | 12.85KB | 5.94KB | ▼ 53.74% |