Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.07MB] [CPU: ▼142.58ms] Passed 4 tests
Server-side resources used by Multiple Votes in one page
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.92 ▲0.08 | 35.26 ▼1.74 |
Dashboard /wp-admin | 3.14 ▲0.08 | 50.52 ▼1.15 |
Posts /wp-admin/edit.php | 3.22 ▲0.11 | 48.74 ▲4.60 |
Add New Post /wp-admin/post-new.php | 5.49 ▲0.06 | 95.89 ▼566.98 |
Media Library /wp-admin/upload.php | 3.08 ▲0.08 | 37.31 ▼0.45 |
Add Vote /wp-admin/post-new.php?post_type=multiplevotesioplqh | 3.12 | 50.56 |
Votes /wp-admin/edit.php?post_type=multiplevotesioplqh | 3.12 | 44.08 |
Vote Categories /wp-admin/edit-tags.php?taxonomy=votes-iop-lqh-categories&post_type=multiplevotesioplqh | 3.08 | 37.19 |
Server storage [IO: ▲0.03MB] [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: 5 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Multiple Votes in one page
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,857 ▲285 | 16.15 ▲0.62 | 11.27 ▲1.66 | 52.45 ▲1.37 |
Dashboard /wp-admin | 3,013 ▲76 | 5.89 ▼0.09 | 149.70 ▼23.34 | 108.47 ▼13.82 |
Posts /wp-admin/edit.php | 2,779 ▲40 | 2.70 ▲0.02 | 69.53 ▼0.05 | 94.80 ▼2.16 |
Add New Post /wp-admin/post-new.php | 1,641 ▼2,095 | 21.28 ▲2.42 | 308.58 ▼178.08 | 108.23 ▼9.40 |
Media Library /wp-admin/upload.php | 1,847 ▲37 | 5.06 ▲0.05 | 158.76 ▲4.26 | 129.78 ▲5.97 |
Add Vote /wp-admin/post-new.php?post_type=multiplevotesioplqh | 2,196 | 3.45 | 104.39 | 107.05 |
Votes /wp-admin/edit.php?post_type=multiplevotesioplqh | 1,506 | 2.64 | 82.58 | 81.96 |
Vote Categories /wp-admin/edit-tags.php?taxonomy=votes-iop-lqh-categories&post_type=multiplevotesioplqh | 1,779 | 2.50 | 69.35 | 85.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/multiple-votes-in-one-page/multiple-votes-in-one-page.php:59
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration Passed 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
3 plugin tags: multiple votes, one page, vote
multiple-votes-in-one-page/multiple-votes-in-one-page.php Passed 13 tests
"Multiple Votes in one page" version 1.0.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
58 characters long description:
This plugin allow you to create multiple votes in one page
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin303 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 55 | 30 | 239 |
CSS | 1 | 0 | 0 | 43 |
Markdown | 1 | 10 | 0 | 20 |
JavaScript | 1 | 0 | 6 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
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 | 14 | |
▷ Named functions | 14 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin