Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼7.63ms] Passed 4 tests
A check of server-side resources used by Centangle-Team
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 37.58 ▲1.72 |
Dashboard /wp-admin | 3.41 ▲0.07 | 45.61 ▼11.29 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 46.43 ▼1.67 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 89.27 ▼15.29 |
Media Library /wp-admin/upload.php | 3.33 ▲0.11 | 34.33 ▼2.27 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=team | 3.33 | 37.95 |
Add New /wp-admin/post-new.php?post_type=team | 3.44 | 50.22 |
Settings /wp-admin/edit.php?post_type=team&page=team_settings | 3.31 | 31.91 |
CA Team /wp-admin/edit.php?post_type=team | 3.39 | 37.25 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
category_children |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Centangle-Team
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,984 ▲238 | 13.76 ▼0.63 | 6.84 ▲5.07 | 85.47 ▲46.91 |
Dashboard /wp-admin | 2,268 ▲79 | 5.10 ▲0.10 | 101.84 ▼17.18 | 40.14 ▼7.00 |
Posts /wp-admin/edit.php | 2,159 ▲70 | 2.34 ▲0.30 | 46.62 ▲5.80 | 43.55 ▲7.04 |
Add New Post /wp-admin/post-new.php | 1,577 ▲58 | 18.61 ▼4.47 | 618.43 ▼72.83 | 36.78 ▼14.56 |
Media Library /wp-admin/upload.php | 1,456 ▲68 | 4.53 ▲0.30 | 96.57 ▼5.80 | 44.11 ▼1.63 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=team | 1,516 | 2.08 | 34.57 | 31.99 |
Add New /wp-admin/post-new.php?post_type=team | 2,372 | 4.32 | 68.88 | 43.46 |
Settings /wp-admin/edit.php?post_type=team&page=team_settings | 1,733 | 2.65 | 56.54 | 26.90 |
CA Team /wp-admin/edit.php?post_type=team | 1,209 | 2.27 | 35.20 | 28.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- category_children
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
- 9× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/centangle-team/layouts/detail_layout.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/centangle-team/layouts/page_member.php:2
- > PHP Notice
Undefined variable: cai_shortcode_options in wp-content/plugins/centangle-team/displayteam.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/centangle-team/inc_/cai_setting.php:3
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/centangle-team/displayteam.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/centangle-team/inc_/cai_metabox.php:2
- > PHP Notice
Undefined variable: cai_shortcode_options in wp-content/plugins/centangle-team/layouts/detail_layout.php on line 2
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/centangle-team/layouts/detail_layout.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/centangle-team/displayteam.php:5
- > PHP Fatal error
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)
No browser errors were detected
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Screenshots: These screenshots do not have images: #1 (Settings), #2 (Member info fields), #3 (Layout)
- Tags: Please reduce the number of tags, currently 25 tag instead of maximum 10
centangle-team/Centangle-Team-Showcase.php 77% from 13 tests
The main file in "Centangle-Team" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Text Domain: Please use dashes and lowercase characters for text domains
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("centangle-team.php" instead of "Centangle-Team-Showcase.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected1,352 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 44 | 33 | 703 |
CSS | 3 | 38 | 12 | 576 |
JavaScript | 3 | 7 | 3 | 73 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 22 | |
▷ Named functions | 19 | 86.36% |
▷ Anonymous functions | 3 | 13.64% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin