Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼1.01MB] [CPU: ▼39.63ms] Passed 4 tests
This is a short check of server-side resources used by Ngcareers
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.83 ▼0.63 | 15.49 ▼28.45 |
Dashboard /wp-admin | 3.05 ▼0.26 | 23.47 ▼26.72 |
Posts /wp-admin/edit.php | 3.05 ▼0.31 | 23.67 ▼20.35 |
Add New Post /wp-admin/post-new.php | 3.05 ▼2.84 | 22.55 ▼82.98 |
Media Library /wp-admin/upload.php | 3.05 ▼0.18 | 20.92 ▼13.75 |
Ngcareers /wp-admin/options-general.php?page=ngcareers-admin | 3.05 | 24.17 |
Server storage [IO: ▲0.98MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 19 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
ngcareers_settings |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Ngcareers
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲71 | 13.53 ▼0.84 | 1.64 ▼0.24 | 41.56 ▼12.93 |
Dashboard /wp-admin | 2,210 ▲22 | 5.90 ▲0.97 | 109.36 ▼6.24 | 39.54 ▼8.01 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.00 ▲0.01 | 39.06 ▼1.79 | 36.09 ▲0.79 |
Add New Post /wp-admin/post-new.php | 1,517 ▼27 | 17.78 ▼0.30 | 649.77 ▲35.07 | 56.26 ▲4.71 |
Media Library /wp-admin/upload.php | 1,395 ▲10 | 4.21 ▲0.00 | 97.70 ▼3.96 | 42.81 ▼1.00 |
Ngcareers /wp-admin/options-general.php?page=ngcareers-admin | 1,215 | 2.20 | 24.00 | 26.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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
- Uninstall procedure had uncaught errors
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- 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 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=ngcareers-admin
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- > GET request to /wp-admin/options-general.php?page=ngcareers-admin
- > Notice in wp-content/plugins/ngcareers/ngcareers.php+201
Undefined index: ngcareers_public_key
SRP 50% from 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
Almost there! Just fix the following items
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Notice
Undefined variable: ngcareersslug in wp-content/plugins/ngcareers/ngcareers-job.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function ngcareers_joblist() in wp-content/plugins/ngcareers/ngcareers-job.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/ngcareers/ngcareers-admin.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/ngcareers/ngcareers.php:13
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: jobs in nigeria, career, jobs, nigeria, job board
ngcareers/ngcareers.php 92% from 13 tests
"Ngcareers" version 1.12's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 173 characters long)
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 detected459 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 100 | 13 | 422 |
CSS | 1 | 3 | 1 | 37 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
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 | 16 | |
▷ Named functions | 16 | 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 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
14 PNG files occupy 0.95MB with 0.41MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/logo.png | 7.77KB | 3.64KB | ▼ 53.18% |
assets/screenshot-2.png | 125.05KB | 36.72KB | ▼ 70.63% |
assets/screenshot-1.png | 103.74KB | 32.01KB | ▼ 69.15% |
assets/plugin-ngcareers.png | 3.73KB | 3.39KB | ▼ 9.14% |
assets/plugin-brand.png | 4.10KB | 3.55KB | ▼ 13.37% |