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.00MB] [CPU: ▼11.06ms] Passed 4 tests
An overview of server-side resources used by GetDeals
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.39 ▼0.07 | 23.83 ▼12.41 |
Dashboard /wp-admin | 3.32 ▲0.02 | 49.98 ▼2.15 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 44.86 ▼1.10 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 82.26 ▼28.59 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 33.65 ▲0.56 |
GetDeals /wp-admin/options-general.php?page=getdeals | 3.19 | 29.04 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for GetDeals
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,893 ▲147 | 13.56 ▼0.73 | 8.28 ▲6.63 | 37.82 ▼3.67 |
Dashboard /wp-admin | 2,207 ▲16 | 5.87 ▲0.99 | 105.42 ▼1.53 | 40.78 ▼4.32 |
Posts /wp-admin/edit.php | 2,093 ▲7 | 1.97 ▲0.00 | 39.45 ▲4.18 | 35.03 ▼2.39 |
Add New Post /wp-admin/post-new.php | 1,536 ▲3 | 23.03 ▼0.19 | 634.24 ▼19.36 | 55.37 ▼1.23 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.21 ▲0.03 | 95.59 ▼5.15 | 40.66 ▼1.37 |
GetDeals /wp-admin/options-general.php?page=getdeals | 913 | 2.05 | 22.00 | 33.29 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=getdeals
- > Notice in wp-content/plugins/getdeals/admin/class-getdeals-admin.php+247
Trying to access array offset on value of type bool
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
No output text or server-side errors detected on direct access of PHP files
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 Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
10 plugin tags: search engine, snapdeal, getdeals, free, amazon india...
getdeals/getdeals.php Passed 13 tests
The main PHP file in "GetDeals" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
92 characters long description:
Add the GetDeals search engine and price comparison functionality to your WordPress website.
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
Everything looks great! No dangerous files found in this plugin519 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 158 | 508 | 345 |
JavaScript | 2 | 40 | 35 | 174 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.06 |
Average class complexity | 1.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 2 | 6.67% |
▷ Public methods | 25 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 16.67% |
Functions | 3 | |
▷ Named functions | 3 | 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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected