Benchmarks
Plugin footprint 64% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▼1.20MB] [CPU: ▲772.78ms] 50% from 4 tests
Server-side resources used by WP Maltor
It is recommended to improve the following
- CPU: Try to keep total CPU usage under 500.00ms (currently 829.90ms on /wp-admin/options-general.php?page=wp_maltor_options)
- Extra CPU: Try to keep extra CPU usage under 200.00ms (currently 772.78ms on /wp-admin/options-general.php?page=wp_maltor_options)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.76 ▼0.70 | 834.95 ▲783.80 |
Dashboard /wp-admin | 2.81 ▼0.49 | 848.98 ▲794.07 |
Posts /wp-admin/edit.php | 2.82 ▼0.54 | 1,406.33 ▲1,352.66 |
Add New Post /wp-admin/post-new.php | 2.81 ▼3.07 | 834.73 ▲734.75 |
Media Library /wp-admin/upload.php | 2.81 ▼0.41 | 815.26 ▲778.49 |
WP Maltor /wp-admin/options-general.php?page=wp_maltor_options | 2.82 | 829.90 |
Server storage [IO: ▲0.26MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 10 new options
New WordPress options |
---|
WP_MalTor_error |
WP_MalTor_action |
WP_MalTor_active |
can_compress_scripts |
widget_recent-comments |
WP_MalTor_torlist |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
WP Maltor: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,783 ▲22 | 14.27 ▲0.04 | 1.81 ▼0.28 | 44.32 ▼1.15 |
Dashboard /wp-admin | 2,199 ▲22 | 5.64 ▲0.04 | 84.49 ▼17.30 | 39.86 ▼3.20 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.04 ▲0.05 | 33.63 ▼5.99 | 34.82 ▼0.65 |
Add New Post /wp-admin/post-new.php | 1,551 ▲20 | 23.57 ▲0.21 | 622.72 ▲25.89 | 60.37 ▼11.20 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.17 ▼0.10 | 99.85 ▼15.66 | 46.39 ▼3.86 |
WP Maltor /wp-admin/options-general.php?page=wp_maltor_options | 864 | 2.18 | 25.93 | 27.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin cannot be uninstalled
- > Warning in wp-content/plugins/wp-maltor/wpmaltor.php+52
file_get_contents(http://iprep.wpmaltor.com/): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden
- This plugin does not fully uninstall, leaving 10 options in the database
- db_upgraded
- widget_recent-comments
- WP_MalTor_error
- widget_recent-posts
- WP_MalTor_torlist
- WP_MalTor_active
- can_compress_scripts
- theysaidso_admin_options
- WP_MalTor_action
- widget_theysaidso_widget
Smoke tests 50% 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)
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=wp_maltor_options
- > Warning in wp-content/plugins/wp-maltor/wpmaltor.php+52
file_get_contents(http://iprep.wpmaltor.com/): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wp-maltor/wpmaltor.php:11
- > 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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Screenshots: Please add an image for screenshot #1 (screenshot-1.png)
wp-maltor/wpmaltor.php 92% from 13 tests
This is the main PHP file of "WP Maltor" version 0.1.5, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("wp-maltor.php" instead of "wpmaltor.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin199 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 29 | 16 | 188 |
HTML | 1 | 0 | 0 | 11 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
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 | 9 | |
▷ Named functions | 9 | 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
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.26MB with 0.14MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/default.png | 85.92KB | 37.99KB | ▼ 55.78% |
screenshot-1.png | 176.10KB | 83.21KB | ▼ 52.75% |