Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
These installer errors require your attention
- The plugin cannot be installed
- > Parse error in wp-content/plugins/demomentsomtres-people/index.php+142
syntax error, unexpected end of file
Server metrics [RAM: ▼0.01MB] [CPU: ▼2.43ms] Passed 4 tests
Server-side resources used by DeMomentSomTres People
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.26 ▼2.01 |
Dashboard /wp-admin | 3.31 ▼0.04 | 56.92 ▼2.04 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 42.45 ▼2.56 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 88.11 ▼3.11 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.44 ▼1.06 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by DeMomentSomTres People
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.72 ▲0.16 | 1.79 ▼0.05 | 41.55 ▼5.92 |
Dashboard /wp-admin | 2,195 ▲15 | 5.55 ▼0.05 | 83.44 ▼5.97 | 37.87 ▼3.54 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.98 ▼0.03 | 38.41 ▲2.14 | 35.05 ▲1.53 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.20 ▲0.09 | 629.44 ▲1.63 | 66.87 ▼31.66 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.12 ▼0.12 | 102.91 ▲2.31 | 44.23 ▼1.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
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)
Everything seems fine, however this is by no means an exhaustive test
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× PHP files trigger errors when accessed directly with GET requests:
- > PHP Parse error
syntax error, unexpected end of file in wp-content/plugins/demomentsomtres-people/index.php on line 142
- > PHP Parse error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 93% 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 to be fixed:
- Screenshots: These screenshots do not have images: #1 (The plugin content in our web page http://demomentsomtres.com), #2 (The plugin admin page)
demomentsomtres-people/index.php 92% from 13 tests
Analyzing the main PHP file in "DeMomentSomTres People" version 1.3.0
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("demomentsomtres-people.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected346 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 2 | 5 | 163 |
PHP | 1 | 7 | 16 | 119 |
JavaScript | 1 | 1 | 44 | 64 |
PHP code Passed 2 tests
An overview 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.00 |
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 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected