Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.20MB] [CPU: ▼1.40ms] Passed 4 tests
Server-side resources used by BSK PDF Manager
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.21 | 42.06 ▼1.06 |
Dashboard /wp-admin | 3.55 ▲0.25 | 54.51 ▲6.85 |
Posts /wp-admin/edit.php | 3.60 ▲0.25 | 49.46 ▼2.78 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.18 | 83.94 ▼8.59 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 37.03 ▲7.09 |
Tags /wp-admin/admin.php?page=bsk-pdfm-tag | 3.39 | 39.25 |
Categories /wp-admin/admin.php?page=bsk-pdf-manager-category | 3.39 | 39.53 |
Add by Media Library /wp-admin/admin.php?page=bsk-pdf-manager-add-by-media-library | 3.38 | 35.54 |
Migrate /wp-admin/admin.php?page=bsk-pdfm-migrate | 3.38 | 33.08 |
Settings /wp-admin/admin.php?page=bsk-pdf-manager-settings-support | 3.48 | 56.64 |
PDF / Documents /wp-admin/admin.php?page=bsk-pdf-manager | 3.39 | 39.49 |
Add by FTP /wp-admin/admin.php?page=bsk-pdf-manager-add-by-ftp | 3.38 | 36.34 |
Notifications /wp-admin/admin.php?page=bsk-pdfm-notification | 3.39 | 39.06 |
Add New / Edit /wp-admin/admin.php?page=bsk-pdf-manager-edit | 3.42 | 40.56 |
Server storage [IO: ▲2.98MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 110 new files
Database: 5 new tables, 14 new options
New tables |
---|
wp_bsk_pdf_manager_notifications |
wp_bsk_pdf_manager_user_available |
wp_bsk_pdf_manager_cats |
wp_bsk_pdf_manager_relationships |
wp_bsk_pdf_manager_pdfs |
New WordPress options |
---|
db_upgraded |
widget_bsk_pdf_manager_widget |
widget_recent-comments |
_bsk_pdf_manager_update_doc_slug_doing_ |
widget_theysaidso_widget |
_bsk_pdf_manager_rels_done_ |
_bsk_pdf_manager_update_doc_slug_done_ |
_bsk_pdf_manager_update_file_size_done_ |
_bsk_pdf_manager_db_ver_ |
_bsk_pdf_manager_update_file_size_doing_ |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for BSK PDF Manager
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,114 ▲379 | 15.53 ▲0.92 | 5.52 ▲3.79 | 43.69 ▲3.87 |
Dashboard /wp-admin | 2,431 ▲240 | 6.84 ▲1.97 | 132.06 ▲27.60 | 36.49 ▼7.47 |
Posts /wp-admin/edit.php | 2,340 ▲251 | 3.36 ▲1.36 | 51.64 ▲8.56 | 31.90 ▼3.48 |
Add New Post /wp-admin/post-new.php | 1,586 ▲67 | 23.52 ▲0.07 | 626.94 ▼48.53 | 33.73 ▼26.22 |
Media Library /wp-admin/upload.php | 1,476 ▲88 | 4.49 ▲0.33 | 92.94 ▼13.39 | 40.59 ▼2.87 |
Tags /wp-admin/admin.php?page=bsk-pdfm-tag | 1,250 | 3.48 | 53.48 | 28.16 |
Categories /wp-admin/admin.php?page=bsk-pdf-manager-category | 1,320 | 3.62 | 44.60 | 25.77 |
Add by Media Library /wp-admin/admin.php?page=bsk-pdf-manager-add-by-media-library | 1,049 | 3.38 | 42.25 | 24.58 |
Migrate /wp-admin/admin.php?page=bsk-pdfm-migrate | 1,299 | 3.53 | 43.46 | 33.31 |
Settings /wp-admin/admin.php?page=bsk-pdf-manager-settings-support | 21,098 | 4.21 | 131.86 | 78.91 |
PDF / Documents /wp-admin/admin.php?page=bsk-pdf-manager | 1,499 | 3.48 | 50.38 | 34.12 |
Add by FTP /wp-admin/admin.php?page=bsk-pdf-manager-add-by-ftp | 1,049 | 3.37 | 42.98 | 25.55 |
Notifications /wp-admin/admin.php?page=bsk-pdfm-notification | 1,171 | 3.40 | 44.74 | 24.09 |
Add New / Edit /wp-admin/admin.php?page=bsk-pdf-manager-edit | 2,354 | 7.24 | 132.98 | 114.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method BSKPDFManager::bsk_pdf_manager_uninstall() should not be called statically
- Zombie tables were found after uninstall: 1 table
- wp_bsk_pdf_manager_notifications
- Zombie WordPress options detected upon uninstall: 8 options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_bsk_pdf_manager_widget_category
- widget_bsk_pdf_manager_widget
- widget_recent-posts
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)
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=bsk-pdf-manager-settings-support
- > Notice in wp-content/plugins/bsk-pdf-manager/classes/dashboard/settings/settings-upload.php+66
Undefined variable: current_upload_path
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
Please fix the following items
- 17× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/bsk-pdf-manager/classes/dashboard/categories.php on line 4
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/bsk-pdf-manager/classes/dashboard/notifications.php on line 4
- > 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/bsk-pdf-manager/classes/dashboard/pdfm-tags.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/bsk-pdf-manager/classes/widgets/widget.php:2
- > 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/bsk-pdf-manager/classes/dashboard/pdfs.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'BSKPDFM_Shortcodes_Category' not found in wp-content/plugins/bsk-pdf-manager/classes/shortcodes/category/category-ul-ol.php:3
- > 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/bsk-pdf-manager/classes/dashboard/pdfs.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'BSKPDFM_Shortcodes_Category' not found in wp-content/plugins/bsk-pdf-manager/classes/shortcodes/category/category-columns.php:3
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/bsk-pdf-manager/classes/dashboard/pdfm-tags.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'BSKPDFM_Shortcodes_Category' not found in wp-content/plugins/bsk-pdf-manager/classes/shortcodes/category/category-dropdown.php:3
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Settings interface, you may support more file types there), #2 (Upload your PDF / File from computer or WordPress Media library), #3 (Categories manager interface), #4 (Permalink settings)
bsk-pdf-manager/bsk-pdf-manager.php 92% from 13 tests
The main PHP file in "BSK PDF Manager" ver. 3.4.1 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 181 characters long)
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 plugin33,384 lines of code in 62 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 41 | 1,723 | 429 | 11,671 |
PO File | 7 | 3,816 | 7,752 | 9,132 |
JavaScript | 5 | 540 | 2,461 | 7,981 |
CSS | 9 | 255 | 229 | 4,600 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 49.60 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 214.00 |
Average method complexity | 8.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 91.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 40 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 40 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 246 | |
▷ Static methods | 48 | 19.51% |
▷ Public methods | 241 | 97.97% |
▷ Protected methods | 4 | 1.63% |
▷ Private methods | 1 | 0.41% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
34 PNG files occupy 0.43MB with 0.14MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/ui-icons_ffffff_256x240.png | 6.15KB | 4.17KB | ▼ 32.13% |
css/images/ui-icons_454545_256x240.png | 6.91KB | 4.18KB | ▼ 39.44% |
css/images/ui-icons_ef8c08_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
css/images/ui-bg_highlight-soft_75_ffe45c_1x100.png | 0.32KB | 0.18KB | ▼ 42.38% |
classes/dashboard/settings/jstree/dist/themes/default/32px.png | 5.53KB | 2.93KB | ▼ 47.10% |