Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.23ms] Passed 4 tests
This is a short check of server-side resources used by Upload Genesis Logo
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 43.97 ▼2.47 |
Dashboard /wp-admin | 3.32 ▲0.02 | 49.47 ▼8.45 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 49.10 ▼1.71 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.01 | 86.01 ▼16.29 |
Media Library /wp-admin/upload.php | 3.25 ▲0.01 | 40.73 ▲2.50 |
Upload Logo /wp-admin/admin.php?page=upload-genesis-logo | 3.22 | 37.41 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Upload Genesis Logo
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.72 ▲0.29 | 1.79 ▼0.19 | 37.95 ▼8.27 |
Dashboard /wp-admin | 2,189 ▲12 | 5.52 ▼0.06 | 86.10 ▼14.26 | 46.41 ▼0.27 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.00 ▲0.04 | 36.68 ▲0.39 | 38.66 ▲2.78 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 22.94 ▲0.11 | 692.18 ▼72.08 | 57.93 ▼10.25 |
Media Library /wp-admin/upload.php | 1,394 ▼0 | 4.17 ▲0.06 | 103.85 ▼1.07 | 43.42 ▼0.18 |
Upload Logo /wp-admin/admin.php?page=upload-genesis-logo | 921 | 2.00 | 27.69 | 29.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=upload-genesis-logo
- > Notice in wp-content/plugins/upload-genesis-logo/lib/page-view.php+36
Undefined variable: value
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=upload-genesis-logo
- > Notice in wp-content/plugins/upload-genesis-logo/lib/page-view.php+36
Trying to access array offset on value of type null
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× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/upload-genesis-logo/lib/page-view.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/upload-genesis-logo/upload-genesis.php:16
- > 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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: wordpress, membership, plugins
upload-genesis-logo/upload-genesis.php 92% from 13 tests
"Upload Genesis Logo" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("upload-genesis-logo.php" instead of "upload-genesis.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected131 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 33 | 19 | 131 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
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 | 4 | |
▷ Named functions | 4 | 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
There were not PNG files found in your plugin