Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▼42.78ms] Passed 4 tests
A check of server-side resources used by Medyum Burak Namaz Vakitleri
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.14 ▲0.68 | 16.60 ▼23.88 |
Dashboard /wp-admin | 4.19 ▲0.84 | 20.86 ▼45.02 |
Posts /wp-admin/edit.php | 4.19 ▲0.83 | 20.84 ▼27.60 |
Add New Post /wp-admin/post-new.php | 4.19 ▼1.70 | 23.04 ▼74.60 |
Media Library /wp-admin/upload.php | 4.19 ▲0.96 | 20.94 ▼16.87 |
Server storage [IO: ▲3.09MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 383 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
widget_namaz_vakitleri_widget |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Medyum Burak Namaz Vakitleri
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,841 ▲55 | 14.71 ▲0.71 | 2.87 ▲0.81 | 43.46 ▲0.15 |
Dashboard /wp-admin | 2,218 ▲38 | 5.67 ▲0.00 | 90.58 ▲2.31 | 37.70 ▼4.98 |
Posts /wp-admin/edit.php | 2,123 ▲23 | 2.03 ▲0.04 | 38.98 ▲1.86 | 36.33 ▲4.65 |
Add New Post /wp-admin/post-new.php | 1,421 ▼105 | 18.02 ▲0.47 | 597.11 ▼127.64 | 48.03 ▼12.62 |
Media Library /wp-admin/upload.php | 1,420 ▲17 | 4.23 ▲0.03 | 98.03 ▼2.64 | 43.32 ▼1.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/medyum-burak-namaz-vakitleri/inc/namaz-vakitleri-core.php+77
Trying to access array offset on value of type bool
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_namaz_vakitleri_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
Almost there! Just fix the following items
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/medyum-burak-namaz-vakitleri/namaz-vakitleri.php:46
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/medyum-burak-namaz-vakitleri/widgets/Namaz_Vakitleri_Minimal_Widget.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Requires at least: Version format is invalid
- Screenshots: Please add images for these screenshots: #1 (Widget Settings), #2 (On the Site)
medyum-burak-namaz-vakitleri/namaz-vakitleri.php 85% from 13 tests
The entry point to "Medyum Burak Namaz Vakitleri" version 1.0 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 212 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("medyum-burak-namaz-vakitleri.php" instead of "namaz-vakitleri.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin2,916 lines of code in 379 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 469 | 1,195 | 2,359 |
JSON | 367 | 0 | 0 | 367 |
CSS | 2 | 23 | 0 | 129 |
JavaScript | 2 | 0 | 0 | 61 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 61.75 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 223.00 |
Average method complexity | 4.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 62.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 136 | |
▷ Static methods | 1 | 0.74% |
▷ Public methods | 111 | 81.62% |
▷ Protected methods | 15 | 11.03% |
▷ Private methods | 10 | 7.35% |
Functions | 10 | |
▷ Named functions | 4 | 40.00% |
▷ Anonymous functions | 6 | 60.00% |
Constants | 22 | |
▷ Global constants | 22 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
There were not PNG files found in your plugin