Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲1.86MB] [CPU: ▲18.59ms] Passed 4 tests
A check of server-side resources used by Meta Ranker - Rank your list items, Create Polls powered by Crypto Wallet Connection for Free
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.32 ▲1.86 | 58.76 ▲21.18 |
Dashboard /wp-admin | 5.16 ▲1.86 | 70.72 ▲24.50 |
Posts /wp-admin/edit.php | 5.20 ▲1.84 | 67.62 ▲24.66 |
Add New Post /wp-admin/post-new.php | 7.82 ▲1.94 | 99.92 ▲4.01 |
Media Library /wp-admin/upload.php | 5.09 ▲1.86 | 58.37 ▲26.43 |
Votes Log /wp-admin/edit.php?post_type=meta-ranker&page=meta-ranker-logs | 5.09 | 57.34 |
About /wp-admin/edit.php?post_type=meta-ranker&page=meta-ranker-settings | 5.09 | 67.68 |
All List /wp-admin/edit.php?post_type=meta-ranker | 5.15 | 60.66 |
Copy Styles /wp-admin/edit.php?post_type=meta-ranker&page=copy-styles | 5.09 | 58.49 |
Add New /wp-admin/post-new.php?post_type=meta-ranker | 5.16 | 68.30 |
Server storage [IO: ▲5.50MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 246 new files
Database: 2 new tables, 9 new options
New tables |
---|
meta_wallet_connections |
mrv_rank_logs |
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
mrv_option_settings |
mrv_quick_setup |
theysaidso_admin_options |
db_upgraded |
mrv_rank_logs_db_version |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Meta Ranker - Rank your list items, Create Polls powered by Crypto Wallet Connection for Free
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,863 ▲102 | 14.73 ▲0.53 | 1.69 ▲0.04 | 33.18 ▼10.09 |
Dashboard /wp-admin | 2,266 ▲85 | 5.53 ▼0.20 | 84.31 ▼16.65 | 41.40 ▼2.69 |
Posts /wp-admin/edit.php | 2,171 ▲92 | 2.02 ▲0.01 | 38.91 ▲2.83 | 34.60 ▼0.77 |
Add New Post /wp-admin/post-new.php | 1,577 ▲49 | 22.94 ▼0.23 | 598.41 ▼19.02 | 63.79 ▲16.15 |
Media Library /wp-admin/upload.php | 1,471 ▲71 | 4.28 ▲0.08 | 99.41 ▼0.58 | 47.02 ▲2.87 |
Votes Log /wp-admin/edit.php?post_type=meta-ranker&page=meta-ranker-logs | 1,220 | 3.28 | 45.45 | 26.82 |
About /wp-admin/edit.php?post_type=meta-ranker&page=meta-ranker-settings | 1,418 | 3.57 | 61.51 | 78.52 |
All List /wp-admin/edit.php?post_type=meta-ranker | 1,354 | 3.62 | 58.08 | 30.67 |
Copy Styles /wp-admin/edit.php?post_type=meta-ranker&page=copy-styles | 1,118 | 4.11 | 54.81 | 29.31 |
Add New /wp-admin/post-new.php?post_type=meta-ranker | 1,706 | 4.18 | 85.24 | 38.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 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
- The plugin did not uninstall successfully, leaving 2 tables in the database
- mrv_rank_logs
- meta_wallet_connections
- Zombie WordPress options were found after uninstall: 9 options
- mrv_rank_logs_db_version
- db_upgraded
- theysaidso_admin_options
- mrv_option_settings
- widget_recent-comments
- can_compress_scripts
- mrv_quick_setup
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however 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× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/meta-ranker/admin/mrv-post-type-settings-ranker.php
- 9× PHP files trigger server errors when accessed directly:
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/meta-ranker/admin/table-ranker/mrv-list-table.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/meta-ranker/includes/plugin-activation/hooks.php:63
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/meta-ranker/includes/functions.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/meta-ranker/admin/mrv-copy-styles.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/meta-ranker/includes/plugin-activation/class-license-manager.php:29
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_head() in wp-content/plugins/meta-ranker/includes/single-meta-ranker-template.php:13
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/meta-ranker/admin/table-ranker/mrv-list-table.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/meta-ranker/includes/plugin-activation/activate_site.php:55
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/meta-ranker/admin/table-ranker/mrv-list-table.php on line 3
- > PHP Warning
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 Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: ranker, crypto, cryptocurrency, list, bitcoin
meta-ranker/meta-ranker.php 85% from 13 tests
This is the main PHP file of "Meta Ranker - Rank your list items, Create Polls powered by Crypto Wallet Connection for Free" version 1.3.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin44,878 lines of code in 179 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 110 | 4,106 | 2,338 | 19,624 |
JavaScript | 11 | 1,366 | 551 | 7,217 |
PO File | 20 | 3,198 | 3,591 | 6,500 |
Sass | 16 | 970 | 3 | 5,674 |
CSS | 7 | 514 | 548 | 5,532 |
Markdown | 2 | 63 | 0 | 256 |
JSON | 2 | 0 | 0 | 42 |
SVG | 11 | 0 | 1 | 33 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.57 |
Average class complexity | 25.42 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 164.00 |
Average method complexity | 6.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 83.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 77 | |
▷ Abstract classes | 2 | 2.60% |
▷ Concrete classes | 75 | 97.40% |
▷ Final classes | 4 | 5.33% |
Methods | 330 | |
▷ Static methods | 79 | 23.94% |
▷ Public methods | 317 | 96.06% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 13 | 3.94% |
Functions | 47 | |
▷ Named functions | 46 | 97.87% |
▷ Anonymous functions | 1 | 2.13% |
Constants | 11 | |
▷ Global constants | 6 | 54.55% |
▷ Class constants | 5 | 45.45% |
▷ Public constants | 2 | 40.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
33 PNG files occupy 1.34MB with 0.43MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/images/Binance-wallet.png | 20.01KB | 7.73KB | ▼ 61.38% |
assets/images/images/default-logo.png | 0.59KB | 0.53KB | ▼ 9.44% |
assets/images/up5.png | 1.72KB | 1.44KB | ▼ 16.17% |
assets/images/images/cryptodonation-logo.png | 13.90KB | 6.21KB | ▼ 55.33% |
assets/images/up-down-7.png | 1.16KB | 0.94KB | ▼ 18.82% |