Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.30MB] [CPU: ▼1.85ms] Passed 4 tests
Analyzing server-side resources used by The Stars at Night
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.75 ▲0.29 | 44.31 ▲0.97 |
Dashboard /wp-admin | 3.66 ▲0.35 | 44.69 ▼6.01 |
Posts /wp-admin/edit.php | 3.71 ▲0.35 | 53.03 ▲7.37 |
Add New Post /wp-admin/post-new.php | 6.17 ▲0.29 | 85.39 ▼1.84 |
Media Library /wp-admin/upload.php | 3.52 ▲0.29 | 34.77 ▼0.52 |
Server storage [IO: ▲11.64MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 92 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by The Stars at Night
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲49 | 13.27 ▼1.03 | 4.36 ▲2.16 | 43.63 ▼1.37 |
Dashboard /wp-admin | 2,211 ▲22 | 4.84 ▼0.09 | 97.26 ▼14.97 | 37.44 ▼9.91 |
Posts /wp-admin/edit.php | 2,094 ▲5 | 2.03 ▲0.03 | 36.92 ▲2.15 | 34.66 ▲0.59 |
Add New Post /wp-admin/post-new.php | 1,530 ▼4 | 23.39 ▲0.03 | 664.27 ▲71.58 | 57.12 ▲0.77 |
Media Library /wp-admin/upload.php | 1,393 ▲2 | 4.22 ▲0.03 | 96.60 ▼3.53 | 45.67 ▲2.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
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 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Donate link: Invalid URI found ("")
- Screenshots: Add a description for screenshot #4 in stars-at-night/assets to your readme.txt
stars-at-night/stars-at-night.php Passed 13 tests
"The Stars at Night" version 1.9.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
54 characters long description:
A WordPress plugin to display astronomical information
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
Success! There were no dangerous files found in this plugin1,447 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 202 | 955 | 1,372 |
CSS | 1 | 13 | 30 | 41 |
Markdown | 1 | 12 | 0 | 34 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 11.91 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 35.00 |
Average method complexity | 2.82 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 66 | |
▷ Static methods | 10 | 15.15% |
▷ Public methods | 37 | 56.06% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 29 | 43.94% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
PNG images were not found in this plugin