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.10MB] [CPU: ▼1.87ms] Passed 4 tests
Server-side resources used by Nelio Popups
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 46.55 ▲1.48 |
Dashboard /wp-admin | 3.40 ▲0.09 | 49.63 ▼5.09 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 52.30 ▲0.96 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.18 | 113.25 ▲15.43 |
Media Library /wp-admin/upload.php | 3.31 ▲0.09 | 40.08 ▼4.82 |
Add New /wp-admin/post-new.php?post_type=nelio_popup | 6.06 | 84.30 |
All Popups /wp-admin/edit.php?post_type=nelio_popup | 3.37 | 40.14 |
Server storage [IO: ▲0.40MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 33 new files
Database: no new tables, 7 new options
New WordPress options |
---|
nelio_popups_version |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Nelio Popups
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,910 ▲164 | 15.19 ▲0.63 | 16.90 ▲14.90 | 42.07 ▼4.47 |
Dashboard /wp-admin | 2,258 ▲70 | 5.85 ▲0.71 | 99.40 ▼18.44 | 40.46 ▼6.38 |
Posts /wp-admin/edit.php | 2,144 ▲55 | 2.03 ▲0.07 | 40.30 ▲1.37 | 33.23 ▼4.35 |
Add New Post /wp-admin/post-new.php | 1,571 ▲49 | 23.52 ▲0.38 | 601.35 ▼81.13 | 47.68 ▼24.52 |
Media Library /wp-admin/upload.php | 1,440 ▲49 | 4.22 ▲0.04 | 102.82 ▲2.93 | 45.47 ▲1.67 |
Add New /wp-admin/post-new.php?post_type=nelio_popup | 6,770 | 21.82 | 872.72 | 39.05 |
All Popups /wp-admin/edit.php?post_type=nelio_popup | 1,194 | 6.25 | 60.63 | 40.79 |
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
These items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- nelio_popups_version
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/nelio-popups/includes/frontend/template.php:2
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There are user-side issues you should fix
- > GET request to /wp-admin/post-new.php?post_type=nelio_popup
- > Console-api (warning) in unknown
/wp-includes/js/dist/block-editor.min.js?ver=0cd49e3f951fc97cabb7 25:219944 "nelio-popups-block-customizations-css was added to the iframe incorrectly. Please use block.json or enqueue_block_assets to add styles to the iframe." link#nelio-popups-block-customizations-css
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
These attributes need your attention:
- Tags: You are using too many tags: 12 tag instead of maximum 10
nelio-popups/nelio-popups.php Passed 13 tests
This is the main PHP file of "Nelio Popups" version 1.0.27, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
36 characters long description:
A plugin to create beautiful popups.
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 plugin1,053 lines of code in 31 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 22 | 173 | 131 | 1,025 |
JavaScript | 6 | 0 | 10 | 14 |
SVG | 1 | 0 | 0 | 11 |
CSS | 2 | 0 | 0 | 3 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
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 | 9 | |
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 | 82 | |
▷ Named functions | 62 | 75.61% |
▷ Anonymous functions | 20 | 24.39% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin