Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼1.86ms] Passed 4 tests
A check of server-side resources used by AngelList
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 35.32 ▼0.76 |
Dashboard /wp-admin | 3.37 ▲0.06 | 47.98 ▼4.10 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 45.04 ▼2.44 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 81.68 ▲0.54 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 36.17 ▼0.13 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
AngelList: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.39 ▼0.14 | 1.76 ▲0.02 | 41.27 ▼0.56 |
Dashboard /wp-admin | 2,195 ▲15 | 5.65 ▼0.08 | 94.49 ▲8.99 | 41.92 ▼0.11 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 2.02 ▲0.01 | 34.97 ▼0.81 | 31.44 ▼6.06 |
Add New Post /wp-admin/post-new.php | 6,268 ▲4,739 | 25.97 ▲2.79 | 919.17 ▲254.50 | 59.57 ▲5.41 |
Media Library /wp-admin/upload.php | 1,400 ▲6 | 4.18 ▼0.09 | 97.19 ▲1.70 | 44.39 ▲2.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/angellist/plugin.php:35
- > PHP Fatal error
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 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Plugin Name: Please specify the plugin name on the first line (
=== angellist ===
)
angellist/plugin.php 92% from 13 tests
The main PHP script in "AngelList" version 1.3.3 is automatically included on every request by WordPress
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("angellist.php" instead of "plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected1,518 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 150 | 405 | 865 |
LESS | 5 | 63 | 21 | 349 |
JavaScript | 4 | 37 | 41 | 265 |
CSS | 2 | 0 | 0 | 39 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.65 |
Average class complexity | 36.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 94.00 |
Average method complexity | 8.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 39 | |
▷ Static methods | 26 | 66.67% |
▷ Public methods | 35 | 89.74% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 10.26% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 5 | 100.00% |
▷ Public constants | 5 | 100.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 images were found in this plugin