Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼148.54ms] Passed 4 tests
Server-side resources used by Get Noticed: "Our Blog"
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.02 | 33.07 ▼2.36 |
Dashboard /wp-admin | 3.10 ▲0.04 | 47.21 ▲0.78 |
Posts /wp-admin/edit.php | 3.15 ▲0.04 | 42.65 ▲1.31 |
Add New Post /wp-admin/post-new.php | 5.45 ▲0.02 | 90.50 ▼589.80 |
Media Library /wp-admin/upload.php | 3.04 ▲0.04 | 30.18 ▼2.78 |
GNT: Our Blog /wp-admin/themes.php?page=gnt-our-blog-settings | 3.01 | 28.23 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Get Noticed: "Our Blog"
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,684 ▲88 | 15.95 ▼0.11 | 8.46 ▼1.50 | 49.55 ▲3.42 |
Dashboard /wp-admin | 2,975 ▲42 | 5.94 ▼0.15 | 143.50 ▼7.96 | 110.05 ▼7.00 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.72 ▲0.00 | 66.93 ▼5.03 | 94.44 ▲8.41 |
Add New Post /wp-admin/post-new.php | 1,875 ▲192 | 19.09 ▲0.51 | 374.12 ▼63.85 | 107.36 ▼0.54 |
Media Library /wp-admin/upload.php | 1,815 ▲8 | 5.04 ▲0.04 | 158.75 ▼10.68 | 118.81 ▲2.81 |
GNT: Our Blog /wp-admin/themes.php?page=gnt-our-blog-settings | 1,150 | 2.10 | 65.42 | 73.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
This plugin's uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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 take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/get-noticed-our-blog/gnt-our-blog.php:13
- > 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 on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 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
These attributes need to be fixed:
- Plugin Name: You should set the name of your plugin on the first line (
=== get-noticed-our-blog ===
)
get-noticed-our-blog/gnt-our-blog.php 92% from 13 tests
The principal PHP file in "Get Noticed: "Our Blog"" v. 1.0.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("get-noticed-our-blog.php" instead of "gnt-our-blog.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
Everything looks great! No dangerous files found in this plugin143 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 31 | 57 | 143 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 3.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected