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.23MB] [CPU: ▼4.00ms] Passed 4 tests
This is a short check of server-side resources used by HRappka.pl
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.23 | 36.00 ▼9.04 |
Dashboard /wp-admin | 3.53 ▲0.23 | 47.29 ▼0.58 |
Posts /wp-admin/edit.php | 3.64 ▲0.29 | 45.69 ▼2.82 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.24 | 90.89 ▼3.55 |
Media Library /wp-admin/upload.php | 3.45 ▲0.22 | 37.94 ▲5.31 |
Server storage [IO: ▲2.77MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 56 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_hrappka_widget_settings |
wp_hrappka_offer_list |
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_hrappka_offer_list |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
HRappka.pl: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,938 ▲203 | 13.96 ▼0.42 | 8.25 ▲6.57 | 49.85 ▼0.56 |
Dashboard /wp-admin | 2,213 ▲25 | 5.02 ▼0.87 | 100.34 ▼10.68 | 81.61 ▲34.41 |
Posts /wp-admin/edit.php | 2,111 ▲22 | 2.23 ▲0.22 | 39.07 ▲1.96 | 37.66 ▲5.37 |
Add New Post /wp-admin/post-new.php | 1,697 ▲180 | 25.23 ▲7.66 | 721.95 ▲59.83 | 61.81 ▼9.45 |
Media Library /wp-admin/upload.php | 1,404 ▲13 | 4.30 ▲0.07 | 96.44 ▼2.16 | 77.37 ▲31.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 7 options in the database
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_hrappka_offer_list
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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
Please fix the following items
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/hrappka-pl/includes/hrappka-offer-view.php:67
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/hrappka-pl/Hrappka-offer-list.php:23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Screenshots: These screenshots do not have images: #1 (Settings), #2 (Job Offers list), #3 (Job page)
hrappka-pl/Hrappka-offer-list.php 77% from 13 tests
This is the main PHP file of "HRappka.pl" version 1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 211 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("hrappka-pl.php" instead of "Hrappka-offer-list.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
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 plugin17,071 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 9 | 60 | 42 | 10,040 |
SVG | 1 | 0 | 0 | 2,671 |
JavaScript | 4 | 668 | 249 | 1,900 |
PHP | 10 | 368 | 76 | 1,536 |
PO File | 5 | 368 | 160 | 924 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 17.43 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 35.00 |
Average method complexity | 3.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 48 | |
▷ Static methods | 13 | 27.08% |
▷ Public methods | 47 | 97.92% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 2.08% |
Functions | 3 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 3 | 100.00% |
Constants | 36 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 36 | 100.00% |
▷ Public constants | 36 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
8 PNG files occupy 0.02MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/flags/ru.png | 3.02KB | 0.28KB | ▼ 90.58% |
admin/icons/logo-hrappka.png | 0.65KB | 0.50KB | ▼ 23.09% |
public/flags/fr.png | 3.07KB | 0.46KB | ▼ 85.19% |
public/flags/uk.png | 3.04KB | 0.40KB | ▼ 86.99% |
public/flags/de.png | 3.03KB | 0.33KB | ▼ 88.95% |