Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.10MB] [CPU: ▼297.19ms] Passed 4 tests
This is a short check of server-side resources used by Advanced Team
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.18 | 59.33 ▲3.78 |
Dashboard /wp-admin | 3.53 ▲0.12 | 36.09 ▼9.06 |
Posts /wp-admin/edit.php | 3.76 ▲0.12 | 40.96 ▼3.84 |
Add New Post /wp-admin/post-new.php | 7.00 ▲0.03 | 96.15 ▼1,175.41 |
Media Library /wp-admin/upload.php | 3.41 ▲0.11 | 29.63 ▼0.46 |
Category /wp-admin/edit-tags.php?taxonomy=team_category&post_type=advanced_team | 3.41 | 28.98 |
Add New /wp-admin/post-new.php?post_type=advanced_team | 3.77 | 48.57 |
All Items /wp-admin/edit.php?post_type=advanced_team | 3.51 | 30.46 |
Server storage [IO: ▲0.54MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 27 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Advanced Team
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,953 ▲231 | 16.53 ▲0.88 | 9.82 ▲4.06 | 16.39 ▲14.16 |
Dashboard /wp-admin | 2,935 ▲74 | 5.96 ▼0.22 | 121.40 ▼40.12 | 205.84 ▲38.67 |
Posts /wp-admin/edit.php | 2,734 ▲43 | 3.24 ▲0.00 | 67.83 ▲2.75 | 147.57 ▼67.15 |
Add New Post /wp-admin/post-new.php | 1,691 ▲4 | 16.52 ▼5.87 | 415.76 ▲9.54 | 185.13 ▲9.41 |
Media Library /wp-admin/upload.php | 1,743 ▲48 | 5.55 ▲0.02 | 146.13 ▲1.21 | 197.53 ▲13.12 |
Category /wp-admin/edit-tags.php?taxonomy=team_category&post_type=advanced_team | 1,667 | 2.77 | 55.68 | 111.16 |
Add New /wp-admin/post-new.php?post_type=advanced_team | 3,569 | 10.19 | 204.45 | 217.23 |
All Items /wp-admin/edit.php?post_type=advanced_team | 1,433 | 3.17 | 60.36 | 111.79 |
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 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means 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 items
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/advanced-team/public/partials/advanced-team-public-display.php
- > /wp-content/plugins/advanced-team/admin/partials/advanced-team-admin-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: team plugin, advanced team, teams, team member, codeincept...
advanced-team/advanced-team.php Passed 13 tests
The main PHP script in "Advanced Team" version 1.0.0 is automatically included on every request by WordPress
43 characters long description:
Design awesome team members showcase easily
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected655 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 122 | 499 | 390 |
CSS | 3 | 4 | 15 | 259 |
JavaScript | 2 | 4 | 54 | 6 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 6.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 2.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 2 | 6.90% |
▷ Public methods | 24 | 82.76% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 17.24% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin