Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > Warning in wp-content/plugins/js-latest-new-updates/JS-latest-new-updates.php+103
require_once(wp-content/plugins/js-latest-new-updates/includes/js_latest_new_updates_table_creation.php): failed to open stream: No such file or directory
Server metrics [RAM: ▲0.00MB] [CPU: ▲1.69ms] Passed 4 tests
A check of server-side resources used by JS Latest New Updates
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 40.06 ▲0.17 |
Dashboard /wp-admin | 3.31 ▲0.00 | 47.78 ▲2.21 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.77 ▲4.52 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 89.97 ▼0.14 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.67 ▲6.99 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for JS Latest New Updates
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.34 ▼0.95 | 4.00 ▲2.34 | 38.48 ▼6.79 |
Dashboard /wp-admin | 2,206 ▲18 | 4.89 ▲0.03 | 110.68 ▲4.04 | 41.31 ▼6.32 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.01 ▲0.00 | 38.98 ▲1.38 | 35.56 ▼0.87 |
Add New Post /wp-admin/post-new.php | 1,544 ▲7 | 18.60 ▼4.71 | 600.30 ▼85.28 | 49.75 ▼11.62 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.18 ▼0.01 | 93.42 ▼8.20 | 39.88 ▼5.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/js-latest-new-updates/js_latest_new_updates_delete.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Contributors: Plugin contributors not specified
- Screenshots: Add descriptions for screenshots #2, #3, #4, #5, #6 in js-latest-new-updates/assets to your readme.txt
js-latest-new-updates/JS-latest-new-updates.php 85% from 13 tests
The primary PHP file in "JS Latest New Updates" version 1.0.2 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 155 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("js-latest-new-updates.php" instead of "JS-latest-new-updates.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected305 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 44 | 16 | 305 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
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 | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin