Benchmarks
Plugin footprint 65% 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.95MB] [CPU: ▼31.27ms] Passed 4 tests
A check of server-side resources used by istOK MEdia Plugin
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.28 ▼1.91 |
Dashboard /wp-admin | 3.00 ▼0.31 | 22.32 ▼26.32 |
Posts /wp-admin/edit.php | 3.00 ▼0.36 | 24.10 ▼21.54 |
Add New Post /wp-admin/post-new.php | 3.00 ▼2.89 | 28.64 ▼61.30 |
Media Library /wp-admin/upload.php | 3.00 ▼0.23 | 21.74 ▼15.92 |
istOKMEdia /wp-admin/options-general.php?page=____FILE____ | 3.00 | 24.88 |
Server storage [IO: ▲0.01MB] [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: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by istOK MEdia Plugin
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲94 | 13.35 ▼0.95 | 1.72 ▲0.00 | 41.22 ▼2.17 |
Dashboard /wp-admin | 2,210 ▲22 | 5.90 ▲1.03 | 107.59 ▲6.06 | 42.55 ▼2.82 |
Posts /wp-admin/edit.php | 2,096 ▲4 | 2.00 ▼0.02 | 39.06 ▼1.02 | 34.62 ▼1.67 |
Add New Post /wp-admin/post-new.php | 1,517 ▲3 | 17.62 ▼6.05 | 675.55 ▼1.68 | 46.59 ▼7.95 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.17 ▼0.02 | 94.84 ▼4.51 | 43.57 ▼0.36 |
istOKMEdia /wp-admin/options-general.php?page=____FILE____ | 797 | 2.02 | 22.96 | 22.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > Warning in wp-content/plugins/istokmedia/istOK MEdia.php+18
Use of undefined constant ____FILE____ - assumed '____FILE____' (this will throw an Error in a future version of PHP)
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=____FILE____
- > Warning in wp-content/plugins/istokmedia/istOK MEdia.php+18
Use of undefined constant ____FILE____ - assumed '____FILE____' (this will throw an Error in a future version of PHP)
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Screenshots: Add an image for screenshot #1 (Nachdem Code platziert ist erscheint die Werbung an dieser Stelle.)
istokmedia/istOK MEdia.php 92% from 13 tests
The main PHP script in "istOK MEdia Plugin" version 1.0 is automatically included on every request by WordPress
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("istokmedia.php" instead of "istOK MEdia.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin34 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 18 | 12 | 34 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
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 | 2 | |
▷ Named functions | 2 | 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
PNG images were not found in this plugin