Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.28MB] [CPU: ▼5.21ms] Passed 4 tests
Analyzing server-side resources used by Elogo İçin Fatura İşlemleri WooCommerce (Ücretsiz)
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.73 ▲0.27 | 41.42 ▼1.62 |
Dashboard /wp-admin | 3.62 ▲0.32 | 49.13 ▼5.08 |
Posts /wp-admin/edit.php | 3.68 ▲0.32 | 50.57 ▼2.79 |
Add New Post /wp-admin/post-new.php | 6.17 ▲0.28 | 97.87 ▼5.15 |
Media Library /wp-admin/upload.php | 3.48 ▲0.26 | 40.08 ▼7.81 |
Server storage [IO: ▲1.15MB] [DB: ▲0.00MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
Please try to fix the following items
- There were 1 file (0.00KB) illegally modified outside of "wp-content/plugins/elogo-wc-icin-fatura-islemleri-ucretsiz/" and "wp-content/uploads/"
- (new file) "wp-content/plugins/elogo-wc-icin-fatura-islemleri-ucretsiz/vendor/hasokeyk/elogo/elogo_doc/e-Logo Webservis D\303\266k\303\274man2.pdf"
Filesystem: 65 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Elogo İçin Fatura İşlemleri WooCommerce (Ücretsiz): an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,901 ▲155 | 13.43 ▼0.50 | 8.27 ▲6.73 | 39.89 ▼6.28 |
Dashboard /wp-admin | 2,202 ▲22 | 5.67 ▲0.09 | 85.25 ▼8.30 | 40.92 ▲0.30 |
Posts /wp-admin/edit.php | 2,104 ▲7 | 2.00 ▲0.05 | 39.42 ▼2.84 | 35.10 ▼0.23 |
Add New Post /wp-admin/post-new.php | 1,540 ▲5 | 18.37 ▲0.35 | 625.00 ▼23.69 | 75.07 ▲3.76 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.25 ▲0.13 | 98.81 ▼17.67 | 46.44 ▲2.57 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 50% 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 0% 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 fix the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/elogo-wc-icin-fatura-islemleri-ucretsiz/public/partials/wc-elogo-fatura-public-display.php
- 18× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Warning
require(vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/elogo-wc-icin-fatura-islemleri-ucretsiz/vendor/hasokeyk/elogo/examples/giden_fatura_listeleme.php on line 5
- > PHP Fatal error
require(): Failed opening required 'vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/elogo-wc-icin-fatura-islemleri-ucretsiz/vendor/hasokeyk/elogo/examples/musteri_bilgisi_getir.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/elogo-wc-icin-fatura-islemleri-ucretsiz/admin/partials/wc-elogo-fatura-settings.php:91
- > PHP Fatal error
require(): Failed opening required 'vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/elogo-wc-icin-fatura-islemleri-ucretsiz/vendor/hasokeyk/elogo/examples/gelen_fatura_listeleme.php on line 5
- > PHP Fatal error
Uncaught Error: Class 'Hasokeyk\\Elogo\\Models\\toArray' not found in wp-content/plugins/elogo-wc-icin-fatura-islemleri-ucretsiz/vendor/hasokeyk/elogo/src/Elogo/Models/ElogoBase64BinaryData.php:5
- > PHP Fatal error
require(): Failed opening required 'vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/elogo-wc-icin-fatura-islemleri-ucretsiz/vendor/hasokeyk/elogo/examples/giden_fatura_listeleme.php on line 5
- > PHP Warning
require(vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/elogo-wc-icin-fatura-islemleri-ucretsiz/vendor/hasokeyk/elogo/examples/musteri_bilgisi_getir.php on line 5
- > PHP Fatal error
Uncaught Error: Class 'Hasokeyk\\Elogo\\Models\\toArray' not found in wp-content/plugins/elogo-wc-icin-fatura-islemleri-ucretsiz/vendor/hasokeyk/elogo/src/Elogo/Models/ElogoLogin.php:5
- > PHP Fatal error
require(): Failed opening required 'vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/elogo-wc-icin-fatura-islemleri-ucretsiz/vendor/hasokeyk/elogo/examples/fatura_bilgisi_alma.php on line 5
- > PHP Fatal error
require(): Failed opening required 'vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/elogo-wc-icin-fatura-islemleri-ucretsiz/vendor/hasokeyk/elogo/examples/earsiv_kesme.php on line 9
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: fatura, logo, woocoomerce logo, elogo, invoice
elogo-wc-icin-fatura-islemleri-ucretsiz/wc-elogo-fatura.php 85% from 13 tests
"Elogo İçin Fatura İşlemleri WooCommerce (Ücretsiz)" version 1.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- 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: Name the main plugin file the same as the plugin slug ("elogo-wc-icin-fatura-islemleri-ucretsiz.php" instead of "wc-elogo-fatura.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
There were no executable files found in this plugin12,269 lines of code in 51 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
XSLT | 2 | 38 | 65 | 8,128 |
PHP | 41 | 1,007 | 1,703 | 3,988 |
JSON | 3 | 0 | 0 | 95 |
JavaScript | 2 | 18 | 2 | 44 |
CSS | 2 | 0 | 0 | 7 |
Markdown | 1 | 3 | 0 | 7 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 10.92 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 1.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 25 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 25 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 294 | |
▷ Static methods | 21 | 7.14% |
▷ Public methods | 279 | 94.90% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 15 | 5.10% |
Functions | 5 | |
▷ Named functions | 3 | 60.00% |
▷ Anonymous functions | 2 | 40.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
There are no PNG files in this plugin