Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▼0.92MB] [CPU: ▼35.73ms] Passed 4 tests
Analyzing server-side resources used by Resource Management for Wordpress
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 44.41 ▲2.99 |
Dashboard /wp-admin | 3.04 ▼0.31 | 26.63 ▼36.68 |
Posts /wp-admin/edit.php | 3.04 ▼0.32 | 23.73 ▼26.33 |
Add New Post /wp-admin/post-new.php | 3.04 ▼2.85 | 25.74 ▼68.25 |
Media Library /wp-admin/upload.php | 3.04 ▼0.20 | 23.56 ▼11.65 |
Categories /wp-admin/admin.php?page=res-category | 3.04 | 23.30 |
Add New /wp-admin/admin.php?page=res-form | 3.04 | 24.71 |
Resources /wp-admin/admin.php?page=resource-management | 3.04 | 24.06 |
Server storage [IO: ▲0.22MB] [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: 18 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_res_category |
wp_res_library |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Resource Management for Wordpress
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,945 ▲184 | 13.96 ▼0.63 | 9.36 ▲7.52 | 43.00 ▼3.03 |
Dashboard /wp-admin | 2,230 ▲50 | 4.86 ▼0.72 | 84.01 ▼9.71 | 40.12 ▼0.02 |
Posts /wp-admin/edit.php | 2,141 ▲38 | 2.48 ▲0.49 | 36.37 ▲2.11 | 33.22 ▼4.55 |
Add New Post /wp-admin/post-new.php | 1,560 ▲23 | 23.09 ▲4.92 | 672.08 ▲48.83 | 59.18 ▼8.42 |
Media Library /wp-admin/upload.php | 1,441 ▲41 | 4.54 ▲0.33 | 104.16 ▼1.98 | 42.71 ▼3.02 |
Categories /wp-admin/admin.php?page=res-category | 904 | 1.87 | 29.02 | 29.06 |
Add New /wp-admin/admin.php?page=res-form | 1,737 | 7.01 | 132.87 | 62.25 |
Resources /wp-admin/admin.php?page=resource-management | 991 | 2.30 | 42.10 | 31.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall without warnings or errors
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- Zombie tables were found after uninstall: 2 tables
- wp_res_library
- wp_res_category
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- 13 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=resource-management
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 90% 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
These attributes need to be fixed:
- Donate link: Invalid url: "soumenroy111@gmail.com"
resource-management/resource_management.php 85% from 13 tests
"Resource Management for Wordpress" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("resource-management.php" instead of "resource_management.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 154 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin3,123 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 115 | 71 | 1,760 |
PHP | 6 | 176 | 85 | 921 |
CSS | 3 | 10 | 15 | 442 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
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 | 13 | |
▷ Named functions | 13 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
6 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/sort_desc.png | 0.15KB | 0.25KB | 0.00% |
images/sort_desc_disabled.png | 0.14KB | 0.25KB | 0.00% |
images/download.png | 1.20KB | 0.29KB | ▼ 75.81% |
images/sort_both.png | 0.20KB | 0.29KB | 0.00% |
images/sort_asc_disabled.png | 0.14KB | 0.25KB | 0.00% |