Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.12MB] [CPU: ▼7.88ms] Passed 4 tests
An overview of server-side resources used by Icerikmatik Import
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 37.85 ▼9.09 |
Dashboard /wp-admin | 3.44 ▲0.13 | 46.67 ▼1.73 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 47.89 ▼3.13 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.24 | 84.00 ▼17.58 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 35.68 ▼0.63 |
Ayarlar /wp-admin/admin.php?page=icerikmatik.settings | 3.29 | 34.08 |
Projeler /wp-admin/admin.php?page=icerikmatik.projects | 3.27 | 29.63 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Icerikmatik Import
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲87 | 13.21 ▼1.17 | 1.71 ▼0.26 | 43.58 ▼0.44 |
Dashboard /wp-admin | 2,231 ▲46 | 5.84 ▼0.01 | 112.23 ▼4.96 | 81.29 ▲35.82 |
Posts /wp-admin/edit.php | 2,111 ▲22 | 1.98 ▼0.05 | 39.39 ▲2.37 | 38.69 ▲3.54 |
Add New Post /wp-admin/post-new.php | 1,686 ▲153 | 22.23 ▼0.98 | 759.49 ▲82.69 | 46.06 ▼13.94 |
Media Library /wp-admin/upload.php | 1,407 ▲19 | 4.21 ▲0.03 | 100.69 ▲0.26 | 69.99 ▲25.77 |
Ayarlar /wp-admin/admin.php?page=icerikmatik.settings | 820 | 2.02 | 26.02 | 27.12 |
Projeler /wp-admin/admin.php?page=icerikmatik.projects | 837 | 2.03 | 29.56 | 28.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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 return non-empty strings:
- > /wp-content/plugins/icerikmatik-import-tool/icerikmatik-import.php
- 6× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/icerikmatik-import-tool/views/head.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/icerikmatik-import-tool/views/head.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/icerikmatik-import-tool/views/head.php:1
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/icerikmatik-import-tool/views/messages.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/icerikmatik-import-tool/views/head.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/icerikmatik-import-tool/views/head.php:1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
1 plugin tags: posts
icerikmatik-import-tool/icerikmatik-import.php 92% from 13 tests
"Icerikmatik Import" version 1.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("icerikmatik-import-tool.php" instead of "icerikmatik-import.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
There were no executable files found in this plugin451 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 118 | 112 | 451 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 33.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 54.00 |
Average method complexity | 4.05 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.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 | 21 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 42.86% |
▷ Protected methods | 2 | 9.52% |
▷ Private methods | 10 | 47.62% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
4 PNG files occupy 0.09MB with 0.04MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 29.94KB | 9.49KB | ▼ 68.32% |
assets/screenshot-2.png | 60.23KB | 20.19KB | ▼ 66.48% |
assets/icon-23x22.png | 0.69KB | 0.79KB | 0.00% |
assets/logo.png | 4.32KB | 3.17KB | ▼ 26.48% |