Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
It is recommended to fix the following installer errors
- This plugin did not install gracefully
- > Warning in wp-content/plugins/never-po/functions.php+18
include_once(wp-content/plugins/never-po/install.php): failed to open stream: No such file or directory
Server metrics [RAM: ▲0.03MB] [CPU: ▼9.61ms] Passed 4 tests
A check of server-side resources used by Never POEDIT
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.43 ▼0.03 | 37.05 ▼1.67 |
Dashboard /wp-admin | 3.35 ▲0.05 | 43.96 ▼1.79 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 46.49 ▼5.81 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 85.28 ▼29.14 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 35.10 ▼1.70 |
Translation /wp-admin/options-general.php?page=neverpo-top-level-menu-page | 3.34 | 32.76 |
Server storage [IO: ▲1.43MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 61 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_neverpo_dictionary |
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Never POEDIT
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,998 ▲2,227 | 16.10 ▲1.51 | 0.79 ▼1.18 | 15.15 ▼27.94 |
Dashboard /wp-admin | 4,927 ▲2,739 | 6.25 ▲1.34 | 180.66 ▲70.07 | 53.74 ▲11.61 |
Posts /wp-admin/edit.php | 4,971 ▲2,879 | 3.90 ▲1.86 | 91.74 ▲51.45 | 55.04 ▲20.48 |
Add New Post /wp-admin/post-new.php | 1,999 ▲471 | 23.68 ▲5.42 | 650.21 ▲39.35 | 52.86 ▲0.64 |
Media Library /wp-admin/upload.php | 3,001 ▲1,619 | 4.60 ▲0.39 | 136.10 ▲37.86 | 46.48 ▲3.16 |
Translation /wp-admin/options-general.php?page=neverpo-top-level-menu-page | 2,954 | 5.18 | 123.65 | 59.75 |
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
It is recommended to fix the following
- Zombie tables detected upon uninstall: 1 table
- wp_neverpo_dictionary
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/never-po/never-po.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/never-po/options.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
2 plugin tags: no po file, translating
never-po/never-po.php 92% from 13 tests
The primary PHP file in "Never POEDIT" version 1.0.6 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin20,114 lines of code in 40 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 20 | 4,140 | 11,009 | 16,332 |
CSS | 13 | 106 | 182 | 2,778 |
PHP | 3 | 125 | 80 | 601 |
PO File | 2 | 138 | 215 | 307 |
Sass | 2 | 18 | 2 | 96 |
PHP code Passed 2 tests
An overview 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.31 |
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 | 28 | |
▷ Named functions | 21 | 75.00% |
▷ Anonymous functions | 7 | 25.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
14 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/assets/media/horizontal_1.png | 2.69KB | 0.10KB | ▼ 96.19% |
css/images/ui-icons_555555_256x240.png | 6.82KB | 4.17KB | ▼ 38.82% |
scripts/tables/DataTables-1.10.12/images/sort_desc_disabled.png | 0.14KB | 0.25KB | 0.00% |
css/images/ui-icons_777777_256x240.png | 6.83KB | 4.17KB | ▼ 38.92% |
css/assets/media/vertical.png | 0.93KB | 0.11KB | ▼ 88.25% |