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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.06MB] [CPU: ▲0.53ms] Passed 4 tests
Analyzing server-side resources used by Ahmeti Wp Güzel Sözler
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 42.98 ▲4.98 |
Dashboard /wp-admin | 3.37 ▲0.07 | 55.09 ▲7.78 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 48.67 ▼1.18 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 91.59 ▼7.04 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 41.48 ▲5.35 |
Server storage [IO: ▲0.34MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 34 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Ahmeti Wp Güzel Sözler
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲41 | 14.59 ▲1.35 | 1.63 ▼2.97 | 42.59 ▲2.02 |
Dashboard /wp-admin | 2,208 ▲30 | 5.68 ▼0.03 | 82.34 ▼18.57 | 81.73 ▲39.10 |
Posts /wp-admin/edit.php | 2,116 ▲19 | 1.99 ▼0.05 | 37.20 ▼0.36 | 34.02 ▼1.90 |
Add New Post /wp-admin/post-new.php | 1,691 ▲163 | 22.07 ▼0.81 | 734.60 ▲63.57 | 52.00 ▼4.55 |
Media Library /wp-admin/upload.php | 1,413 ▲19 | 4.28 ▲0.11 | 98.45 ▼1.89 | 78.06 ▲32.56 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
Please fix the following items
- 22× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
- > /wp-content/plugins/ahmeti-wp-guzel-sozler/import/import_save.php
- > /wp-content/plugins/ahmeti-wp-guzel-sozler/soz/soz_list.php
- > /wp-content/plugins/ahmeti-wp-guzel-sozler/soz/new_soz_form_add.php
- > /wp-content/plugins/ahmeti-wp-guzel-sozler/soz/delete_soz.php
- > /wp-content/plugins/ahmeti-wp-guzel-sozler/author/update_author_form.php
- > /wp-content/plugins/ahmeti-wp-guzel-sozler/author/new_author_form_add.php
- > /wp-content/plugins/ahmeti-wp-guzel-sozler/author/author_list.php
- > /wp-content/plugins/ahmeti-wp-guzel-sozler/export/export_save.php
- > /wp-content/plugins/ahmeti-wp-guzel-sozler/author/new_author_form.php
- > /wp-content/plugins/ahmeti-wp-guzel-sozler/export/export_page.php
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/ahmeti-wp-guzel-sozler/index.php on line 34
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/ahmeti-wp-guzel-sozler/index.php on line 35
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/ahmeti-wp-guzel-sozler/index.php on line 33
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/ahmeti-wp-guzel-sozler/index.php:36
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Screenshots: Screenshot #1 (Genel Sayfa Görüntüsü) image not found
ahmeti-wp-guzel-sozler/index.php 92% from 13 tests
Analyzing the main PHP file in "Ahmeti Wp Güzel Sözler" version 4.0
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("ahmeti-wp-guzel-sozler.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin921 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 24 | 217 | 48 | 901 |
CSS | 1 | 4 | 11 | 15 |
JavaScript | 1 | 14 | 19 | 5 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 20 | |
▷ Named functions | 19 | 95.00% |
▷ Anonymous functions | 1 | 5.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
7 compressed PNG files occupy 0.30MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 49.10KB | 22.51KB | ▼ 54.16% |
images/ahmeti-icon.png | 0.78KB | 0.83KB | 0.00% |
screenshot-3.png | 26.10KB | 24.90KB | ▼ 4.62% |
screenshot-4.png | 167.66KB | 164.44KB | ▼ 1.92% |
images/icon.png | 1.93KB | 1.66KB | ▼ 13.69% |