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.02MB] [CPU: ▼0.90ms] Passed 4 tests
This is a short check of server-side resources used by WP Novo Tempo (Radio e TV)
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 37.90 ▼3.77 |
Dashboard /wp-admin | 3.32 ▲0.02 | 47.09 ▲2.23 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 47.23 ▲3.92 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 90.72 ▼1.48 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 32.83 ▼0.59 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 11 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_wp_tv_nt |
widget_recent-posts |
widget_recent-comments |
widget_wp_radio_nt |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Novo Tempo (Radio e TV)
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 14.76 ▲0.17 | 1.74 ▼0.19 | 37.81 ▼6.23 |
Dashboard /wp-admin | 2,209 ▲20 | 5.84 ▲0.92 | 106.09 ▼17.68 | 44.67 ▲0.04 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.06 ▼0.08 | 38.17 ▲3.35 | 35.42 ▼0.41 |
Add New Post /wp-admin/post-new.php | 1,542 ▲23 | 23.25 ▲0.11 | 612.62 ▼18.96 | 60.32 ▲3.03 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.17 ▼0.01 | 95.30 ▼15.37 | 42.42 ▼5.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin did not uninstall successfully, leaving 8 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- widget_wp_radio_nt
- widget_wp_tv_nt
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
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
Please fix the following
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/wp-novo-tempo/Widgets/widget-tv-nt.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/wp-novo-tempo/Widgets/widget-radio-nt.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/wp-novo-tempo/Widgets/widget-radio-nt.php:3
- > 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 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: adventista, novo tempo, tv novo tempo, rdio novo tempo
wp-novo-tempo/WP-Novo-Tempo.php 77% from 13 tests
"WP Novo Tempo (Radio e TV)" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wp-novo-tempo.php" instead of "WP-Novo-Tempo.php")
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
- Description: Please keep the plugin description shorter than 140 characters (currently 146 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected114 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 32 | 13 | 103 |
Markdown | 1 | 10 | 0 | 11 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 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
5 PNG files occupy 0.27MB with 0.16MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 29.90KB | 12.23KB | ▼ 59.10% |
screenshot-5.png | 7.94KB | 3.23KB | ▼ 59.26% |
screenshot-4.png | 143.35KB | 50.93KB | ▼ 64.47% |
screenshot-1.png | 5.36KB | 3.02KB | ▼ 43.63% |
screenshot-2.png | 89.67KB | 32.12KB | ▼ 64.18% |