Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼139.86ms] Passed 4 tests
Server-side resources used by NP Team
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.89 ▲0.06 | 44.58 ▲7.19 |
Dashboard /wp-admin | 3.13 ▲0.07 | 47.32 ▼1.61 |
Posts /wp-admin/edit.php | 3.18 ▲0.07 | 49.42 ▲3.42 |
Add New Post /wp-admin/post-new.php | 5.48 ▲0.05 | 99.16 ▼558.75 |
Media Library /wp-admin/upload.php | 3.07 ▲0.07 | 31.82 ▼2.50 |
Team Member /wp-admin/edit.php?post_type=npteam | 3.11 | 43.09 |
Add New Member /wp-admin/post-new.php?post_type=npteam | 3.20 | 51.99 |
Custom Options /wp-admin/edit.php?post_type=npteam&page=npteam_member-settings | 3.04 | 28.49 |
Server storage [IO: ▲0.47MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 14 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for NP Team
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,862 ▲266 | 16.46 ▲0.46 | 14.87 ▲5.04 | 48.49 ▼4.89 |
Dashboard /wp-admin | 3,036 ▲99 | 6.72 ▲0.81 | 135.29 ▼19.77 | 128.66 ▲11.83 |
Posts /wp-admin/edit.php | 2,813 ▲74 | 2.75 ▲0.06 | 69.60 ▲1.97 | 115.70 ▲15.84 |
Add New Post /wp-admin/post-new.php | 1,733 ▲50 | 18.45 ▲2.14 | 363.72 ▼29.60 | 122.18 ▲10.06 |
Media Library /wp-admin/upload.php | 1,820 ▲10 | 5.17 ▲0.16 | 139.88 ▼20.68 | 118.27 ▼8.93 |
Team Member /wp-admin/edit.php?post_type=npteam | 1,506 | 2.67 | 67.19 | 89.61 |
Add New Member /wp-admin/post-new.php?post_type=npteam | 3,341 | 9.33 | 246.42 | 158.13 |
Custom Options /wp-admin/edit.php?post_type=npteam&page=npteam_member-settings | 1,260 | 2.69 | 61.19 | 75.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/np-team/np-team.php:16
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
These are user-side errors you should fix
- 6 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=npteam&page=npteam_member-settings
- > Network (severe)
wp-content/plugins/np-team/js/color-pickr.js?ver=5.8.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Screenshots: These screenshots do not have images: #1 (In this screenshot, you can see "add new member" page. Here you can your team member and his details.), #2 (In this screenshot, you can see the list of added members.), #3 (In this screenshot, you can see the "team shortcode icon". To show members on a page, you have to click on this button and add the shortcode.), #4 (In this screenshot, you can see the preview after clicking on the "team shortcode icon". Here you can manage how much member of your team you want to show on this particular page.), #5 (In this screenshot, you can see the shortcode of "NP-Team plugin".), #6 (In this screenshot, you can see the options panel of this plugin. Here you can put your properties.), #7 (In this screenshot, you can see the live demo still image of this plugin.)
- Donate link: Please fix this invalid url: ""
np-team/np-team.php 92% from 13 tests
The main file in "NP Team" v. 1.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 239 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin310 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 59 | 36 | 250 |
CSS | 2 | 0 | 6 | 34 |
JavaScript | 2 | 2 | 0 | 26 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
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 | 18 | |
▷ Named functions | 18 | 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
8 PNG files occupy 0.45MB with 0.22MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-4.PNG | 59.50KB | 26.40KB | ▼ 55.63% |
screenshot-2.PNG | 51.89KB | 24.10KB | ▼ 53.56% |
screenshot-5.PNG | 57.73KB | 25.35KB | ▼ 56.09% |
img/team_icon.png | 3.99KB | 3.35KB | ▼ 16.15% |
screenshot-1.PNG | 51.46KB | 20.87KB | ▼ 59.45% |