Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
These installer errors require your attention
- The plugin did not install without errors
- > Warning in wp-content/plugins/guild-wars-2-players-character-list/gw2pcl.php+17
Use of undefined constant gw2pcl_database_version - assumed 'gw2pcl_database_version' (this will throw an Error in a future version of PHP)
Server metrics [RAM: ▼1.60MB] [CPU: ▼54.99ms] Passed 4 tests
A check of server-side resources used by gw2pcl - Guild Wars 2 Player's Character List
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.39 ▼1.07 | 5.80 ▼36.68 |
Dashboard /wp-admin | 2.41 ▼0.90 | 7.14 ▼47.92 |
Posts /wp-admin/edit.php | 2.41 ▼0.95 | 5.96 ▼47.05 |
Add New Post /wp-admin/post-new.php | 2.41 ▼3.48 | 7.65 ▼88.32 |
Media Library /wp-admin/upload.php | 2.41 ▼0.82 | 7.81 ▼25.56 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 6 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_gw2pcl |
New WordPress options |
---|
db_upgraded |
gw2pcl_database_version |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for gw2pcl - Guild Wars 2 Player's Character List
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲66 | 14.41 ▲0.10 | 1.76 ▼0.31 | 44.63 ▼8.10 |
Dashboard /wp-admin | 2,212 ▲33 | 5.89 ▲0.03 | 135.30 ▲17.08 | 77.53 ▲27.82 |
Posts /wp-admin/edit.php | 2,110 ▲18 | 2.03 ▲0.07 | 34.83 ▼11.86 | 34.14 ▼7.35 |
Add New Post /wp-admin/post-new.php | 1,685 ▲171 | 21.32 ▼2.29 | 725.90 ▼42.55 | 62.86 ▼4.85 |
Media Library /wp-admin/upload.php | 1,406 ▲18 | 4.23 ▲0.03 | 126.46 ▼11.61 | 70.21 ▲6.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > Warning in wp-content/plugins/guild-wars-2-players-character-list/gw2pcl.php+17
Use of undefined constant gw2pcl_database_version - assumed 'gw2pcl_database_version' (this will throw an Error in a future version of PHP)
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- gw2pcl_database_version
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for 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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/guild-wars-2-players-character-list/gw2pcl.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== guild-wars-2-players-character-list ===
)
guild-wars-2-players-character-list/gw2pcl.php 85% from 13 tests
The primary PHP file in "gw2pcl - Guild Wars 2 Player's Character List" version 2.0.2 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 233 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("guild-wars-2-players-character-list.php" instead of "gw2pcl.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected935 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 137 | 67 | 735 |
PO File | 1 | 76 | 92 | 164 |
CSS | 1 | 8 | 0 | 36 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
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 | 15 | |
▷ Named functions | 15 | 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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected