Benchmarks
Plugin footprint 82% 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.17MB] [CPU: ▼5.39ms] Passed 4 tests
Server-side resources used by NotiPress Noticias
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 41.21 ▲4.19 |
Dashboard /wp-admin | 3.54 ▲0.20 | 45.41 ▼18.54 |
Posts /wp-admin/edit.php | 3.66 ▲0.30 | 50.78 ▲5.65 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.24 | 81.60 ▼12.84 |
Media Library /wp-admin/upload.php | 3.46 ▲0.24 | 42.22 ▲6.70 |
/wp-admin/admin.php?page=ntpmx-import-force | 3.43 | 32.89 |
NotiPress Plugin /wp-admin/admin.php?page=ntpmx_settings | 3.43 | 32.01 |
Configuración /wp-admin/options-general.php?page=ntpmx_settings | 3.43 | 34.56 |
/wp-admin/admin.php?page=ntpmx-import | 3.40 | 30.29 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: 1 new table, 23 new options
New tables |
---|
wp_ntpmx_contents |
New WordPress options |
---|
ntpmx_source |
ntpmx_qty |
ntpmx_show_rows |
ntpmx_rich_text |
ntpmx_minutes |
widget_recent-posts |
db_upgraded |
ntpmx_product |
ntpmx_sku_name |
ntpmx_version |
... |
Browser metrics 75% from 4 tests
NotiPress Noticias: an overview of browser usage
It is time to focus on the following
- Nodes: You must limit the number of DOM nodes under 25,000 (currently 65,910 on /wp-admin/admin.php?page=ntpmx-import)
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲75 | 13.67 ▼0.63 | 1.81 ▲0.24 | 45.35 ▲6.42 |
Dashboard /wp-admin | 2,224 ▲36 | 5.84 ▼0.07 | 97.76 ▼14.71 | 73.80 ▲26.50 |
Posts /wp-admin/edit.php | 2,110 ▲21 | 1.97 ▼0.08 | 37.03 ▼1.19 | 33.59 ▼2.34 |
Add New Post /wp-admin/post-new.php | 1,686 ▲158 | 22.68 ▼0.81 | 716.71 ▲38.44 | 63.63 ▲3.25 |
Media Library /wp-admin/upload.php | 1,409 ▲21 | 4.20 ▼0.09 | 94.39 ▼5.21 | 78.52 ▲37.98 |
/wp-admin/admin.php?page=ntpmx-import-force | 1,564 | 2.87 | 43.13 | 37.14 |
NotiPress Plugin /wp-admin/admin.php?page=ntpmx_settings | 959 | 2.06 | 24.73 | 25.92 |
Configuración /wp-admin/options-general.php?page=ntpmx_settings | 959 | 2.03 | 23.24 | 25.66 |
/wp-admin/admin.php?page=ntpmx-import | 65,910 | 73.86 | 457.79 | 288.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 8 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- ntpmx_clean_rows_in_days
- can_compress_scripts
- ntpmx_qty
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
- 101 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ntpmx-import
- > Notice in wp-content/plugins/notipress-noticias/inc/ntpmx.class.php+369
Undefined variable: url
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/notipress-noticias/inc/ntpmx-api.php
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function delete_option() in wp-content/plugins/notipress-noticias/uninstall.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/notipress-noticias/inc/ntpmx-contents.php:4
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=ntpmx-import
- > Javascript (warning) in unknown
/wp-admin/admin.php?page=ntpmx-import 47 Throttling navigation to prevent the browser from hanging. See https://crbug.com/1038223. Command line switch --disable-ipc-flooding-protection can be used to bypass the protection
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
6 plugin tags: news, mexico, noticias, newsfeed, noticia...
notipress-noticias/notipress-noticias.php 85% from 13 tests
The main file in "NotiPress Noticias" v. 1.4.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Description: The description should be shorter than 140 characters (currently 248 characters long)
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
There were no executable files found in this plugin1,436 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 28 | 18 | 1,176 |
CSS | 1 | 4 | 0 | 260 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 180.00 |
▷ Minimum class complexity | 180.00 |
▷ Maximum class complexity | 180.00 |
Average method complexity | 3.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 66 | |
▷ Static methods | 4 | 6.06% |
▷ Public methods | 53 | 80.30% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 13 | 19.70% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 5 | 83.33% |
▷ Class constants | 1 | 16.67% |
▷ Public constants | 1 | 100.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
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/logo.png | 8.58KB | 4.00KB | ▼ 53.39% |
img/notipress-menu.png | 0.46KB | 0.69KB | 0.00% |