Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.12MB] [CPU: ▼5.32ms] Passed 4 tests
This is a short check of server-side resources used by Numix Post Slider
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 41.91 ▲0.41 |
Dashboard /wp-admin | 3.43 ▲0.13 | 50.79 ▼2.55 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 55.26 ▲0.92 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 87.71 ▼20.05 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 46.86 ▲8.89 |
Server storage [IO: ▲0.35MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 40 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_numix_post_slider_lite |
New WordPress options |
---|
widget_recent-comments |
npts_db_version |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Numix Post Slider
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,890 ▲129 | 13.63 ▼0.73 | 10.40 ▲8.69 | 39.86 ▼4.53 |
Dashboard /wp-admin | 2,207 ▲27 | 5.56 ▼0.07 | 90.41 ▲0.29 | 73.39 ▲29.88 |
Posts /wp-admin/edit.php | 2,118 ▲18 | 1.98 ▼0.07 | 38.49 ▼3.71 | 34.75 ▼2.49 |
Add New Post /wp-admin/post-new.php | 1,692 ▲164 | 21.78 ▼1.42 | 731.01 ▲49.26 | 46.98 ▼12.15 |
Media Library /wp-admin/upload.php | 1,415 ▲15 | 4.15 ▼0.04 | 113.75 ▼2.83 | 76.41 ▲27.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% 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 50% 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 items
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/numix-post-slider/admin/views/numixslider-options.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/numix-post-slider/admin/views/admin.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/numix-post-slider/admin/views/edit-slider.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 40 tag instead of maximum 10
numix-post-slider/numix-post-slider.php Passed 13 tests
This is the main PHP file of "Numix Post Slider" version 1.0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
58 characters long description:
Variable width and infinite post slider carousel for posts
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
There were no executable files found in this plugin5,024 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 7 | 620 | 670 | 3,011 |
CSS | 7 | 249 | 120 | 1,141 |
PHP | 8 | 204 | 395 | 872 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 39.50 |
▷ Minimum class complexity | 35.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 3.66 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.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 | 29 | |
▷ Static methods | 7 | 24.14% |
▷ Public methods | 25 | 86.21% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 13.79% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 3 | 60.00% |
▷ Class constants | 2 | 40.00% |
▷ Public constants | 2 | 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
7 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/images/numix-admin-icon.png | 0.67KB | 0.48KB | ▼ 27.57% |
admin/assets/images/numix_slider_premium.png | 7.25KB | 3.90KB | ▼ 46.24% |
public/assets/images/caption-bg.png | 0.12KB | 0.09KB | ▼ 20.66% |
admin/assets/images/dropdown.png | 3.51KB | 0.10KB | ▼ 97.16% |
public/assets/images/slide_right.png | 0.57KB | 0.58KB | 0.00% |