Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼6.81ms] Passed 4 tests
Server-side resources used by HNGamers Atavism Core
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 36.30 ▼2.86 |
Dashboard /wp-admin | 3.44 ▲0.14 | 44.83 ▼2.42 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 46.03 ▲0.48 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 80.02 ▼21.90 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 34.03 ▼0.06 |
Database /wp-admin/admin.php?page=hngamers-core-admin-database | 3.33 | 31.56 |
HNGamers /wp-admin/admin.php?page=hngamers-core-admin | 3.32 | 30.35 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
hngamers_core_options |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for HNGamers Atavism Core
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲81 | 14.77 ▲0.09 | 1.74 ▲0.00 | 40.65 ▲3.68 |
Dashboard /wp-admin | 2,236 ▲44 | 4.86 ▼0.04 | 98.63 ▼8.58 | 40.74 ▼3.03 |
Posts /wp-admin/edit.php | 2,116 ▲27 | 2.00 ▲0.02 | 39.35 ▲0.93 | 34.76 ▼0.71 |
Add New Post /wp-admin/post-new.php | 1,565 ▲45 | 18.22 ▼5.35 | 608.77 ▼84.57 | 51.08 ▼8.45 |
Media Library /wp-admin/upload.php | 1,415 ▲24 | 4.16 ▼0.05 | 94.97 ▼4.14 | 42.91 ▼2.79 |
Database /wp-admin/admin.php?page=hngamers-core-admin-database | 1,162 | 2.06 | 21.75 | 29.06 |
HNGamers /wp-admin/admin.php?page=hngamers-core-admin | 806 | 2.05 | 24.68 | 26.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=hngamers-core-admin-database
- > Warning in wp-content/plugins/hngamers-atavism-core/hngamerscore.php+140
mysqli::__construct(): (HY000/1698): Access denied for user 'root'@'localhost'
- > GET request to /wp-admin/admin.php?page=hngamers-core-admin-database
- > Warning in wp-content/plugins/hngamers-atavism-core/hngamerscore.php+150
mysqli::close(): Couldn't fetch mysqli
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-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/hngamers-atavism-core/hngamerscore.php:23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
2 plugin tags: atavism online, user verification
hngamers-atavism-core/hngamerscore.php 92% from 13 tests
The primary PHP file in "HNGamers Atavism Core" version 0.0.4 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("hngamers-atavism-core.php" instead of "hngamerscore.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin306 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 49 | 19 | 306 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.07 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 1.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin