Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.15MB] [CPU: ▼3.72ms] Passed 4 tests
Server-side resources used by Announcements-Duyurular
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.14 | 42.33 ▼2.72 |
Dashboard /wp-admin | 3.46 ▲0.15 | 50.32 ▼7.15 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 50.04 ▼0.12 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 97.65 ▼4.88 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 39.82 ▲6.60 |
New Notice /wp-admin/post-new.php?post_type=notice | 3.53 | 53.45 |
All Notice /wp-admin/edit.php?post_type=notice | 3.42 | 38.02 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 41 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Announcements-Duyurular
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,832 ▲71 | 14.35 ▼0.00 | 1.80 ▲0.15 | 43.28 ▲1.06 |
Dashboard /wp-admin | 2,235 ▲55 | 5.69 ▼0.16 | 92.66 ▲5.06 | 40.42 ▲1.73 |
Posts /wp-admin/edit.php | 2,143 ▲43 | 2.09 ▲0.09 | 44.20 ▲4.07 | 42.00 ▲4.77 |
Add New Post /wp-admin/post-new.php | 1,560 ▲32 | 23.13 ▲0.13 | 629.47 ▼24.34 | 60.49 ▲2.74 |
Media Library /wp-admin/upload.php | 1,443 ▲43 | 4.37 ▲0.16 | 103.40 ▲2.31 | 44.78 ▼2.34 |
New Notice /wp-admin/post-new.php?post_type=notice | 2,444 | 7.78 | 172.86 | 68.79 |
All Notice /wp-admin/edit.php?post_type=notice | 1,104 | 1.99 | 33.76 | 30.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
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)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'GB_Notices' not found in wp-content/plugins/notices-duyurular/includes/class/GB_Notice.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
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: These screenshots lack descriptions #4, #5 in notices-duyurular/assets to your readme.txt
notices-duyurular/notices-duyurular.php 92% from 13 tests
The main PHP script in "Announcements-Duyurular" version 1.8.1 is automatically included on every request by WordPress
You should first fix the following items:
- Text Domain: Please use dashes and lowercase characters for text domains
Code Analysis Passed 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
Good job! No executable or dangerous file extensions detected2,113 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 9 | 189 | 122 | 900 |
PHP | 5 | 108 | 377 | 660 |
JavaScript | 4 | 63 | 198 | 351 |
PO File | 1 | 46 | 51 | 108 |
Markdown | 2 | 43 | 0 | 70 |
SVG | 1 | 0 | 0 | 24 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 16.67 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 2.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 39 | |
▷ Static methods | 2 | 5.13% |
▷ Public methods | 24 | 61.54% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 15 | 38.46% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 1 | 50.00% |
▷ Class constants | 1 | 50.00% |
▷ Public constants | 1 | 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
12 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/datePickerImages/ui-icons_222222_256x240.png | 6.76KB | 4.17KB | ▼ 38.24% |
css/datePickerImages/ui-bg_glass_65_ffffff_1x400.png | 0.20KB | 0.09KB | ▼ 57.49% |
css/datePickerImages/ui-bg_glass_55_fbf9ee_1x400.png | 0.33KB | 0.12KB | ▼ 62.09% |
css/datePickerImages/ui-bg_glass_95_fef1ec_1x400.png | 0.32KB | 0.15KB | ▼ 54.82% |
css/datePickerImages/ui-bg_glass_75_dadada_1x400.png | 0.26KB | 0.16KB | ▼ 38.93% |