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
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼0.75ms] Passed 4 tests
Analyzing server-side resources used by Pikiz
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.04 | 38.22 ▼1.71 |
Dashboard /wp-admin | 3.35 ▲0.05 | 45.56 ▲3.04 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 47.97 ▲3.22 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 86.88 ▼3.46 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 34.53 ▼0.85 |
Pikiz /wp-admin/options-general.php?page=pikiz | 3.24 | 31.17 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 34 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Pikiz: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,811 ▲76 | 13.15 ▼1.22 | 1.80 ▲0.24 | 44.21 ▲2.76 |
Dashboard /wp-admin | 2,220 ▲28 | 5.88 ▲0.94 | 108.67 ▼5.70 | 40.30 ▼0.28 |
Posts /wp-admin/edit.php | 2,103 ▲14 | 2.03 ▼0.02 | 39.81 ▲4.17 | 35.79 ▲5.23 |
Add New Post /wp-admin/post-new.php | 1,537 ▲23 | 17.80 ▲0.36 | 697.41 ▲43.41 | 59.04 ▲3.11 |
Media Library /wp-admin/upload.php | 1,418 ▲30 | 4.43 ▲0.19 | 109.09 ▲14.78 | 46.60 ▲3.24 |
Pikiz /wp-admin/options-general.php?page=pikiz | 876 | 2.07 | 25.52 | 26.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/pikiz/pikiz.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 13 tag instead of maximum 10
pikiz/pikiz.php Passed 13 tests
The entry point to "Pikiz" version 0.2 is a PHP file that has certain tags in its header comment area
36 characters long description:
Quickly design beautiful blog images
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,093 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 22 | 386 | 2,274 | 1,532 |
JavaScript | 4 | 56 | 0 | 368 |
PO File | 1 | 36 | 36 | 96 |
CSS | 1 | 15 | 0 | 71 |
Markdown | 1 | 12 | 0 | 26 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 1.61 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 42.00 |
Average method complexity | 1.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 114 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 114 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 168 | |
▷ Static methods | 27 | 16.07% |
▷ Public methods | 168 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/white.png | 1.44KB | 0.99KB | ▼ 31.66% |
images/icon.png | 1.19KB | 0.70KB | ▼ 41.05% |
images/default.png | 1.40KB | 0.92KB | ▼ 34.19% |