Benchmarks
Plugin footprint 65% from 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.06MB] [CPU: ▼4.66ms] Passed 4 tests
Analyzing server-side resources used by WPNeon GoCodes 2
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 43.31 ▼5.80 |
Dashboard /wp-admin | 3.37 ▲0.07 | 49.90 ▲4.50 |
Posts /wp-admin/edit.php | 3.42 ▲0.07 | 47.97 ▼0.83 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 82.34 ▼14.98 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 37.45 ▲2.97 |
Settings /wp-admin/admin.php?page=gocodes-settings | 3.26 | 32.56 |
Links /wp-admin/admin.php?page=gocodes | 3.26 | 31.53 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 6 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_wsc_gocodes |
New WordPress options |
---|
wsc_gocodes_url_trigger |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WPNeon GoCodes 2
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 13.20 ▼1.11 | 1.62 ▼0.33 | 45.21 ▲2.09 |
Dashboard /wp-admin | 2,231 ▲46 | 4.82 ▼0.06 | 111.92 ▲10.47 | 41.17 ▼5.06 |
Posts /wp-admin/edit.php | 2,120 ▲28 | 2.06 ▲0.07 | 36.24 ▼5.52 | 31.29 ▼9.66 |
Add New Post /wp-admin/post-new.php | 1,539 ▼3 | 23.20 ▲4.64 | 662.89 ▲71.67 | 59.83 ▲3.77 |
Media Library /wp-admin/upload.php | 1,422 ▲37 | 4.21 ▲0.01 | 102.37 ▼2.37 | 45.83 ▲0.81 |
Settings /wp-admin/admin.php?page=gocodes-settings | 825 | 1.69 | 25.29 | 31.84 |
Links /wp-admin/admin.php?page=gocodes | 899 | 1.70 | 25.20 | 31.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_wsc_gocodes
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- wsc_gocodes_url_trigger
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The SRP test was a success
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 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: tinyurl, redirection, url, 301, url shortener
wpneon-gocodes/gocodes2.php 85% from 13 tests
The entry point to "WPNeon GoCodes 2" version 1.0 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 204 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wpneon-gocodes.php" instead of "gocodes2.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
There were no executable files found in this plugin371 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 62 | 40 | 371 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
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 | 10 | |
▷ Named functions | 10 | 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
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