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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.24MB] [CPU: ▼0.43ms] Passed 4 tests
Server-side resources used by PubMed Posts
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.23 | 46.40 ▲6.96 |
Dashboard /wp-admin | 3.54 ▲0.23 | 47.47 ▼3.72 |
Posts /wp-admin/edit.php | 3.65 ▲0.29 | 50.81 ▲4.61 |
Add New Post /wp-admin/post-new.php | 6.14 ▲0.25 | 84.27 ▼7.30 |
Media Library /wp-admin/upload.php | 3.47 ▲0.24 | 37.62 ▲4.71 |
PubMed Posts /wp-admin/options-general.php?page=pubmed-posts | 3.43 | 33.85 |
Server storage [IO: ▲0.33MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 64 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_pmp_search |
can_compress_scripts |
widget_recent-comments |
category_children |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for PubMed Posts
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,140 ▲394 | 13.83 ▼0.54 | 6.05 ▲4.50 | 39.48 ▼1.03 |
Dashboard /wp-admin | 2,423 ▲232 | 5.26 ▲0.38 | 124.14 ▲19.29 | 91.01 ▲45.44 |
Posts /wp-admin/edit.php | 2,127 ▲38 | 2.14 ▲0.15 | 36.17 ▲1.57 | 31.69 ▼6.87 |
Add New Post /wp-admin/post-new.php | 1,548 ▲34 | 23.25 ▲5.79 | 678.84 ▼13.60 | 37.66 ▼17.56 |
Media Library /wp-admin/upload.php | 1,423 ▲35 | 4.27 ▲0.06 | 96.95 ▼3.36 | 42.32 ▼8.38 |
PubMed Posts /wp-admin/options-general.php?page=pubmed-posts | 939 | 1.86 | 23.21 | 27.56 |
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
Please fix the following items
- This plugin does not fully uninstall, leaving 8 options in the database
- db_upgraded
- can_compress_scripts
- category_children
- widget_recent-comments
- theysaidso_admin_options
- widget_pmp_search
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Looking good! No server-side errors or output on direct access of PHP files
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)
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Donate link: Please fix this invalid URI: ""
pubmed-posts/pubmed-posts.php 92% from 13 tests
"PubMed Posts" version 1.1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 192 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected4,348 lines of code in 38 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 13 | 489 | 2,953 | 1,634 |
CSS | 12 | 94 | 66 | 1,478 |
PHP | 6 | 147 | 390 | 1,097 |
Stylus | 7 | 32 | 0 | 139 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 51.67 |
▷ Minimum class complexity | 22.00 |
▷ Maximum class complexity | 69.00 |
Average method complexity | 3.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 72 | |
▷ Static methods | 1 | 1.39% |
▷ Public methods | 72 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 5 | 100.00% |
▷ Public constants | 5 | 100.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
22 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/question_white.png | 0.69KB | 0.60KB | ▼ 12.36% |
textext/css/arrow.png | 0.17KB | 0.10KB | ▼ 42.94% |
images/cross_white.png | 0.66KB | 0.56KB | ▼ 14.84% |
smoothness/images/ui-icons_454545_256x240.png | 6.83KB | 4.17KB | ▼ 38.86% |
smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.27KB | 0.18KB | ▼ 35.00% |