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.15MB] [CPU: ▼148.00ms] Passed 4 tests
A check of server-side resources used by Flash Oyunlar Ekle
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.93 ▲0.21 | 32.78 ▲11.98 |
Dashboard /wp-admin | 3.20 ▲0.15 | 50.83 ▲6.08 |
Posts /wp-admin/edit.php | 3.26 ▲0.15 | 41.04 ▼7.07 |
Add New Post /wp-admin/post-new.php | 5.79 ▲0.36 | 72.89 ▼583.62 |
Media Library /wp-admin/upload.php | 3.09 ▲0.09 | 29.79 ▼7.38 |
Flash Oyunlar /wp-admin/options-general.php?page=flash_games-options | 3.06 | 27.40 |
Server storage [IO: ▲0.44MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 24 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_flash_games_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Flash Oyunlar Ekle
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,425 ▲829 | 16.41 ▲0.85 | 9.52 ▼0.80 | 47.44 ▲0.86 |
Dashboard /wp-admin | 3,707 ▲776 | 6.79 ▲0.87 | 180.59 ▲33.68 | 110.74 ▲1.39 |
Posts /wp-admin/edit.php | 3,486 ▲747 | 3.43 ▲0.73 | 87.04 ▲15.85 | 88.09 ▼8.94 |
Add New Post /wp-admin/post-new.php | 4,732 ▲3,049 | 16.56 ▼1.75 | 502.61 ▲56.69 | 126.54 ▲23.56 |
Media Library /wp-admin/upload.php | 2,494 ▲684 | 5.68 ▲0.66 | 179.78 ▲18.48 | 114.38 ▼2.24 |
Flash Oyunlar /wp-admin/options-general.php?page=flash_games-options | 2,536 | 3.44 | 91.95 | 76.67 |
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
- This plugin does not fully uninstall, leaving 1 option in the database
- widget_flash_games_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=flash_games-options
- > Notice in wp-content/plugins/flash-oyunlar-ekle/flash-oyunlar.php+195
Undefined index: msg
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=flash_games-options
- > Notice in wp-content/plugins/flash-oyunlar-ekle/flash-oyunlar.php+533
Trying to get property 'ID' of non-object
SRP 50% 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
Almost there! Just fix the following items
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/flash-oyunlar-ekle/trunk/flash-oyunlar.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/flash-oyunlar-ekle/flash-oyunlar.php:14
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There are user-side issues you should fix
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=flash_games-options
- > Network (severe)
wp-content/plugins/flash-oyunlar/jscolor.js - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/options-general.php?page=flash_games-options
- > Javascript (severe) in unknown
/wp-admin/options-general.php?page=flash_games-options 353:44 Uncaught TypeError: jQuery(...).unbind(...).live is not a function
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Tags: Please delete some tags, you are using 23 tag instead of maximum 10
- Screenshots: These screenshots require images: #1 (Sitenizde oyunların görünümü), #2 (Gösterilecek oyunların ayarlanması), #3 (Metin editöründe Oyun Ekle butonu)
flash-oyunlar-ekle/flash-oyunlar.php 85% from 13 tests
The main PHP file in "Flash Oyunlar Ekle" ver. 1.1 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 436 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("flash-oyunlar-ekle.php" instead of "flash-oyunlar.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected2,201 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 260 | 269 | 1,658 |
PHP | 1 | 117 | 36 | 543 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
4 compressed PNG files occupy 0.01MB
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
hs.png | 2.62KB | 7.54KB | 0.00% |
hv.png | 2.80KB | 7.32KB | 0.00% |
trunk/hs.png | 2.62KB | 7.54KB | 0.00% |
trunk/hv.png | 2.80KB | 7.32KB | 0.00% |