Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.90MB] [CPU: ▲6.39ms] Passed 4 tests
Analyzing server-side resources used by Nelio Content - Best Editorial Calendar & Social Media Scheduling
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.19 ▲0.73 | 42.11 ▼1.83 |
Dashboard /wp-admin | 4.27 ▲0.97 | 59.05 ▲10.76 |
Posts /wp-admin/edit.php | 4.33 ▲0.96 | 64.39 ▲15.69 |
Add New Post /wp-admin/post-new.php | 6.84 ▲0.94 | 99.38 ▲0.92 |
Media Library /wp-admin/upload.php | 4.20 ▲0.96 | 53.61 ▲22.00 |
Server storage [IO: ▲3.56MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 176 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
nc_version |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Nelio Content - Best Editorial Calendar & Social Media Scheduling
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,850 ▲88 | 14.32 ▼0.38 | 1.96 ▲0.37 | 43.76 ▼0.82 |
Dashboard /wp-admin | 2,233 ▲56 | 5.66 ▲0.12 | 95.01 ▲2.22 | 41.75 ▼0.34 |
Posts /wp-admin/edit.php | 2,142 ▲42 | 1.98 ▼0.03 | 39.84 ▼0.41 | 34.51 ▲0.61 |
Add New Post /wp-admin/post-new.php | 1,551 ▲25 | 25.06 ▲1.94 | 661.21 ▲11.92 | 62.56 ▲9.27 |
Media Library /wp-admin/upload.php | 1,439 ▲39 | 4.20 ▼0.01 | 101.99 ▼2.21 | 41.13 ▼0.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- can_compress_scripts
- nc_version
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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
Please take a closer look at the following
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/nelio-content/includes/lib/settings/partials/nelio-content-radio-setting.php
- > /wp-content/plugins/nelio-content/includes/lib/settings/partials/nelio-content-tabs.php
- 11× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/nelio-content/includes/lib/settings/partials/nelio-content-radio-setting.php on line 24
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/nelio-content/includes/lib/settings/partials/nelio-content-range-setting.php:31
- > PHP Notice
Undefined variable: options in wp-content/plugins/nelio-content/includes/lib/settings/partials/nelio-content-radio-setting.php on line 36
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/nelio-content/includes/lib/settings/partials/nelio-content-tabs.php on line 21
- > PHP Notice
Undefined variable: tabs in wp-content/plugins/nelio-content/includes/lib/settings/partials/nelio-content-tabs.php on line 21
- > PHP Notice
Undefined variable: options in wp-content/plugins/nelio-content/includes/lib/settings/partials/nelio-content-radio-setting.php on line 24
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/nelio-content/includes/lib/settings/partials/nelio-content-text-area-setting.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/nelio-content/includes/lib/settings/partials/nelio-content-input-setting.php:26
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/nelio-content/includes/lib/settings/partials/nelio-content-select-setting.php:26
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/nelio-content/includes/lib/settings/partials/nelio-content-checkbox-setting.php:28
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
nelio-content/nelio-content.php 92% from 13 tests
The main PHP script in "Nelio Content - Best Editorial Calendar & Social Media Scheduling" version 3.0.7 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 146 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected12,449 lines of code in 165 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 117 | 3,272 | 4,848 | 11,603 |
Markdown | 1 | 114 | 0 | 472 |
CSS | 18 | 0 | 0 | 171 |
JavaScript | 27 | 12 | 17 | 160 |
SVG | 2 | 0 | 0 | 43 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 16.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 82.00 |
Average method complexity | 2.63 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 62 | |
▷ Abstract classes | 4 | 6.45% |
▷ Concrete classes | 58 | 93.55% |
▷ Final classes | 0 | 0.00% |
Methods | 565 | |
▷ Static methods | 36 | 6.37% |
▷ Public methods | 392 | 69.38% |
▷ Protected methods | 13 | 2.30% |
▷ Private methods | 160 | 28.32% |
Functions | 164 | |
▷ Named functions | 84 | 51.22% |
▷ Anonymous functions | 80 | 48.78% |
Constants | 11 | |
▷ Global constants | 2 | 18.18% |
▷ Class constants | 9 | 81.82% |
▷ Public constants | 9 | 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 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/lib/settings/assets/images/help.png | 0.30KB | 0.32KB | 0.00% |
assets/dist/images/nc-efi-placeholder.png | 0.37KB | 0.35KB | ▼ 5.51% |