Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.08MB] [CPU: ▼8.22ms] Passed 4 tests
A check of server-side resources used by Nuntium
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.90 ▼0.56 | 18.37 ▼21.17 |
Dashboard /wp-admin | 3.38 ▲0.08 | 46.58 ▼8.77 |
Posts /wp-admin/edit.php | 3.46 ▲0.11 | 49.90 ▲1.17 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 84.68 ▼2.60 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 36.38 ▼0.33 |
Newsletter Issues /wp-admin/edit-tags.php?taxonomy=newsletter | 3.27 | 41.96 |
Server storage [IO: ▲0.94MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Nuntium
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲44 | 14.62 ▲0.03 | 1.72 ▲0.08 | 40.52 ▲0.18 |
Dashboard /wp-admin | 2,211 ▲31 | 5.64 ▼0.03 | 89.95 ▼12.07 | 36.87 ▼7.77 |
Posts /wp-admin/edit.php | 2,172 ▲69 | 2.00 ▲0.03 | 40.68 ▲4.62 | 35.98 ▲0.79 |
Add New Post /wp-admin/post-new.php | 6,320 ▲4,794 | 26.07 ▲2.47 | 935.13 ▲230.00 | 60.65 ▼4.88 |
Media Library /wp-admin/upload.php | 1,416 ▲16 | 4.16 ▼0.03 | 92.13 ▼10.60 | 44.69 ▼0.67 |
Newsletter Issues /wp-admin/edit-tags.php?taxonomy=newsletter | 1,490 | 2.13 | 28.11 | 41.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
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
Smoke test failed, please fix the following
- > GET request to /wp-admin/edit-tags.php?taxonomy=newsletter
- > Notice in wp-content/plugins/nuntium/nuntium.php+226
Trying to get property 'term_id' of non-object
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 trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function show_admin_bar() in wp-content/plugins/nuntium/templates/nuntium.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/nuntium/nuntium.php:53
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Screenshots: These screenshots do not have images: #1 (Create a new Newsletter template.), #2 (Pick a post for the Newsletter and select the Sort order.), #3 (Hover over the Newsletter and click on View link to see the actual Newsletter.)
- Tags: Please delete some tags, you are using 18 tag instead of maximum 10
nuntium/nuntium.php 85% from 13 tests
The main file in "Nuntium" v. 0.1.5 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 232 characters long)
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected364 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 186 | 25 | 364 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
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 | 17 | |
▷ Named functions | 17 | 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
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
templates/images/logo.png | 5.60KB | 2.30KB | ▼ 58.90% |